summaryrefslogtreecommitdiff
path: root/modules/stdio
diff options
context:
space:
mode:
authorEric Blake <ebb9@byu.net>2009-06-24 06:49:00 -0600
committerEric Blake <ebb9@byu.net>2009-06-25 06:43:30 -0600
commit0d626a9b7c58a25b292252357f5a91110024cfaa (patch)
treed806141fc25c3e927f5db404cf3609dd8fe80578 /modules/stdio
parent12ce56554d4b863d351ba5b828b6716154f2c2ae (diff)
downloadgnulib-0d626a9b7c58a25b292252357f5a91110024cfaa.tar.gz
fpurge: migrate into <stdio.h>
* lib/fpurge.h: Delete... * lib/stdio.in.h (fpurge): ...and declare here, instead. * lib/fpurge.c (fpurge): Change declaring header. * modules/fpurge (Files): Drop deleted file. (Depends-on): Add stdio. (configure.ac): Set witness. * modules/stdio (Makefile.am): Support fpurge macros. * m4/stdio_h.m4 (gl_STDIO_H_DEFAULTS): Likewise. * m4/fpurge.m4 (gl_FUNC_FPURGE): Set appropriate variables. * lib/fflush.c: Update client. * tests/test-fpurge.c: Likewise. * NEWS: Mention the change. Signed-off-by: Eric Blake <ebb9@byu.net>
Diffstat (limited to 'modules/stdio')
-rw-r--r--modules/stdio3
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/stdio b/modules/stdio
index dd2eccb509..87308a6ab8 100644
--- a/modules/stdio
+++ b/modules/stdio
@@ -49,6 +49,7 @@ stdio.h: stdio.in.h
-e 's|@''GNULIB_FTELL''@|$(GNULIB_FTELL)|g' \
-e 's|@''GNULIB_FTELLO''@|$(GNULIB_FTELLO)|g' \
-e 's|@''GNULIB_FFLUSH''@|$(GNULIB_FFLUSH)|g' \
+ -e 's|@''GNULIB_FPURGE''@|$(GNULIB_FPURGE)|g' \
-e 's|@''GNULIB_FCLOSE''@|$(GNULIB_FCLOSE)|g' \
-e 's|@''GNULIB_FPUTC''@|$(GNULIB_FPUTC)|g' \
-e 's|@''GNULIB_PUTC''@|$(GNULIB_PUTC)|g' \
@@ -86,6 +87,8 @@ stdio.h: stdio.in.h
-e 's|@''REPLACE_FTELLO''@|$(REPLACE_FTELLO)|g' \
-e 's|@''REPLACE_FTELL''@|$(REPLACE_FTELL)|g' \
-e 's|@''REPLACE_FFLUSH''@|$(REPLACE_FFLUSH)|g' \
+ -e 's|@''REPLACE_FPURGE''@|$(REPLACE_FPURGE)|g' \
+ -e 's|@''HAVE_DECL_FPURGE''@|$(HAVE_DECL_FPURGE)|g' \
-e 's|@''REPLACE_FCLOSE''@|$(REPLACE_FCLOSE)|g' \
-e 's|@''HAVE_DECL_GETDELIM''@|$(HAVE_DECL_GETDELIM)|g' \
-e 's|@''HAVE_DECL_GETLINE''@|$(HAVE_DECL_GETLINE)|g' \