diff options
author | Simon Josefsson <simon@josefsson.org> | 2012-03-31 09:56:55 +0200 |
---|---|---|
committer | Simon Josefsson <simon@josefsson.org> | 2012-03-31 09:56:55 +0200 |
commit | 0e0635af0b23826911dc456bd0da40dcb19247de (patch) | |
tree | bf9a36fbd8607076161a799b8bd1a1a6e3a0b424 | |
parent | bc326c6dc3f80c571111d0faf2572548e518be20 (diff) | |
download | gnulib-0e0635af0b23826911dc456bd0da40dcb19247de.tar.gz |
fflush: Fix syntax error.
* lib/fflush.c: Include unused-parameter.h, needed for
_GL_UNUSED_PARAMETER.
* modules/fflush (Depends-on): Add snippet/unused-parameter.
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | lib/fflush.c | 2 | ||||
-rw-r--r-- | modules/fflush | 13 |
3 files changed, 16 insertions, 6 deletions
@@ -1,3 +1,10 @@ +2012-03-31 Simon Josefsson <simon@josefsson.org> + + fflush: Fix syntax error. + * lib/fflush.c: Include unused-parameter.h, needed for + _GL_UNUSED_PARAMETER. + * modules/fflush (Depends-on): Add snippet/unused-parameter. + 2012-03-30 Paul Eggert <eggert@cs.ucla.edu> regex: pacify GCC when compiling GRUB diff --git a/lib/fflush.c b/lib/fflush.c index a43eea7f4d..fa6f389fb9 100644 --- a/lib/fflush.c +++ b/lib/fflush.c @@ -28,6 +28,8 @@ #include "stdio-impl.h" +#include "unused-parameter.h" + #undef fflush diff --git a/modules/fflush b/modules/fflush index 16bdbb5272..03b2f1d1d4 100644 --- a/modules/fflush +++ b/modules/fflush @@ -8,12 +8,13 @@ m4/fflush.m4 Depends-on: stdio -fpurge [test $REPLACE_FFLUSH = 1] -ftello [test $REPLACE_FFLUSH = 1] -freading [test $REPLACE_FFLUSH = 1] -lseek [test $REPLACE_FFLUSH = 1] -unistd [test $REPLACE_FFLUSH = 1] -fseeko [test $REPLACE_FFLUSH = 1] +snippet/unused-parameter [test $REPLACE_FFLUSH = 1] +fpurge [test $REPLACE_FFLUSH = 1] +ftello [test $REPLACE_FFLUSH = 1] +freading [test $REPLACE_FFLUSH = 1] +lseek [test $REPLACE_FFLUSH = 1] +unistd [test $REPLACE_FFLUSH = 1] +fseeko [test $REPLACE_FFLUSH = 1] configure.ac-early: AC_REQUIRE([AC_FUNC_FSEEKO]) |