From: Simon Josefsson Date: Sat, 31 Mar 2012 07:56:55 +0000 (+0200) Subject: fflush: Fix syntax error. X-Git-Tag: stable/20120404~2 X-Git-Url: http://erislabs.net/gitweb/?p=gnulib.git;a=commitdiff_plain;h=3d25ec76d62050ec9a2f0cf861b66122132f1539 fflush: Fix syntax error. * 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) --- diff --git a/ChangeLog b/ChangeLog index f110aa51f..6d3e808f5 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2012-03-31 Simon Josefsson + + 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 maint.mk: fix syntax checks without exclusions diff --git a/NEWS.stable b/NEWS.stable index cbaa6caf4..46fe78643 100644 --- a/NEWS.stable +++ b/NEWS.stable @@ -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__ ---------------------------------------------------------------------- diff --git a/lib/fflush.c b/lib/fflush.c index 8879cab9e..1e8e2dc92 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 16bdbb527..03b2f1d1d 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])