summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Josefsson <simon@josefsson.org>2012-03-31 09:56:55 +0200
committerSimon Josefsson <simon@josefsson.org>2012-03-31 09:56:55 +0200
commit0e0635af0b23826911dc456bd0da40dcb19247de (patch)
treebf9a36fbd8607076161a799b8bd1a1a6e3a0b424
parentbc326c6dc3f80c571111d0faf2572548e518be20 (diff)
downloadgnulib-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--ChangeLog7
-rw-r--r--lib/fflush.c2
-rw-r--r--modules/fflush13
3 files changed, 16 insertions, 6 deletions
diff --git a/ChangeLog b/ChangeLog
index 3e21818372..2f1b55492a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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])