fflush: Fix syntax error.
authorSimon Josefsson <simon@josefsson.org>
Sat, 31 Mar 2012 07:56:55 +0000 (09:56 +0200)
committerIan Beckwith <ianb@erislabs.net>
Wed, 4 Apr 2012 22:23:23 +0000 (23:23 +0100)
* lib/fflush.c: Include unused-parameter.h, needed for
_GL_UNUSED_PARAMETER.
* modules/fflush (Depends-on): Add snippet/unused-parameter.
(cherry picked from commit 0e0635af0b23826911dc456bd0da40dcb19247de)

ChangeLog
NEWS.stable
lib/fflush.c
modules/fflush

index f110aa5..6d3e808 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-29  Eric Blake  <eblake@redhat.com>
 
        maint.mk: fix syntax checks without exclusions
index cbaa6ca..46fe786 100644 (file)
@@ -12,6 +12,7 @@ with the following additional commits:
 
     * [7ce7d6b]->[c07add3] autoupdate
     * [3d0ba3f]->[7f8314c] maint.mk: fix syntax checks without exclusions
+    * [0e0635a]->[] fflush: Fix syntax error.
 __NEXTCOMMITMARKER__
 
 ----------------------------------------------------------------------
index 8879cab..1e8e2dc 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])