fflush: Fix syntax error.
authorSimon Josefsson <simon@josefsson.org>
Sat, 31 Mar 2012 07:56:55 +0000 (09:56 +0200)
committerSimon Josefsson <simon@josefsson.org>
Sat, 31 Mar 2012 07:56:55 +0000 (09:56 +0200)
* lib/fflush.c: Include unused-parameter.h, needed for
_GL_UNUSED_PARAMETER.
* modules/fflush (Depends-on): Add snippet/unused-parameter.

ChangeLog
lib/fflush.c
modules/fflush

index 3e21818..2f1b554 100644 (file)
--- 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
index a43eea7..fa6f389 100644 (file)
@@ -28,6 +28,8 @@
 
 #include "stdio-impl.h"
 
+#include "unused-parameter.h"
+
 #undef fflush
 
 
index 16bdbb5..03b2f1d 100644 (file)
@@ -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])