Mercurial > hg > octave-lojdl > gnulib-hg
changeset 16731:bbd2679d746e
fflush: Fix syntax error.
* lib/fflush.c: Include unused-parameter.h, needed for
_GL_UNUSED_PARAMETER.
* modules/fflush (Depends-on): Add snippet/unused-parameter.
author | Simon Josefsson <simon@josefsson.org> |
---|---|
date | Sat, 31 Mar 2012 09:56:55 +0200 |
parents | d4cc21bf38ab |
children | 6a9cdf00c1e7 |
files | ChangeLog lib/fflush.c modules/fflush |
diffstat | 3 files changed, 16 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- 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
--- a/lib/fflush.c +++ b/lib/fflush.c @@ -28,6 +28,8 @@ #include "stdio-impl.h" +#include "unused-parameter.h" + #undef fflush
--- a/modules/fflush +++ b/modules/fflush @@ -8,12 +8,13 @@ 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])