aboutsummaryrefslogtreecommitdiff
path: root/newlib
diff options
context:
space:
mode:
authorJeff Johnston <jjohnstn@redhat.com>2002-07-25 20:09:20 +0000
committerJeff Johnston <jjohnstn@redhat.com>2002-07-25 20:09:20 +0000
commitaa0ca6fd290c87adca6af8cb3422fff0bbff7169 (patch)
treef0f0a6e6897cbc216ea25e2bc8c392f1645e0c0b /newlib
parent61921945b6c1d269b64c708070dba4afa85f1556 (diff)
downloadnewlib-aa0ca6fd290c87adca6af8cb3422fff0bbff7169.zip
newlib-aa0ca6fd290c87adca6af8cb3422fff0bbff7169.tar.gz
newlib-aa0ca6fd290c87adca6af8cb3422fff0bbff7169.tar.bz2
2002-07-25 Jeff Johnston <jjohnstn@redhat.com>
* libc/sys/linux/Makefile.am: Add fclean.c. * libc/sys/linux/Makefile.in: Regenerated. * libc/sys/linux/fclean.c: New file.
Diffstat (limited to 'newlib')
-rw-r--r--newlib/ChangeLog6
-rw-r--r--newlib/libc/sys/linux/Makefile.am1
-rw-r--r--newlib/libc/sys/linux/Makefile.in9
-rw-r--r--newlib/libc/sys/linux/fclean.c7
4 files changed, 19 insertions, 4 deletions
diff --git a/newlib/ChangeLog b/newlib/ChangeLog
index 468703a..02065d8 100644
--- a/newlib/ChangeLog
+++ b/newlib/ChangeLog
@@ -1,5 +1,11 @@
2002-07-25 Jeff Johnston <jjohnstn@redhat.com>
+ * libc/sys/linux/Makefile.am: Add fclean.c.
+ * libc/sys/linux/Makefile.in: Regenerated.
+ * libc/sys/linux/fclean.c: New file.
+
+2002-07-25 Jeff Johnston <jjohnstn@redhat.com>
+
* libc/sys/linux/Makefile.am: Add confstr.c.
* libc/sys/linux/Makefile.in: Regenerated.
* libc/sys/linux/confstr.c: New file.
diff --git a/newlib/libc/sys/linux/Makefile.am b/newlib/libc/sys/linux/Makefile.am
index 944a1ee..d795362 100644
--- a/newlib/libc/sys/linux/Makefile.am
+++ b/newlib/libc/sys/linux/Makefile.am
@@ -21,6 +21,7 @@ LIB_SOURCES = \
clock_settime.c \
confstr.c \
ctermid.c \
+ fclean.c \
flockfile.c \
fpathconf.c \
free.c \
diff --git a/newlib/libc/sys/linux/Makefile.in b/newlib/libc/sys/linux/Makefile.in
index 486c5b9..71d7f6b 100644
--- a/newlib/libc/sys/linux/Makefile.in
+++ b/newlib/libc/sys/linux/Makefile.in
@@ -118,6 +118,7 @@ LIB_SOURCES = \
clock_settime.c \
confstr.c \
ctermid.c \
+ fclean.c \
flockfile.c \
fpathconf.c \
free.c \
@@ -253,7 +254,7 @@ LIBS = @LIBS@
@USE_LIBTOOL_FALSE@calloc.$(OBJEXT) callocr.$(OBJEXT) cfreer.$(OBJEXT) \
@USE_LIBTOOL_FALSE@cfspeed.$(OBJEXT) clock_getres.$(OBJEXT) \
@USE_LIBTOOL_FALSE@clock_gettime.$(OBJEXT) clock_settime.$(OBJEXT) \
-@USE_LIBTOOL_FALSE@confstr.$(OBJEXT) ctermid.$(OBJEXT) \
+@USE_LIBTOOL_FALSE@confstr.$(OBJEXT) ctermid.$(OBJEXT) fclean.$(OBJEXT) \
@USE_LIBTOOL_FALSE@flockfile.$(OBJEXT) fpathconf.$(OBJEXT) \
@USE_LIBTOOL_FALSE@free.$(OBJEXT) freer.$(OBJEXT) fstab.$(OBJEXT) \
@USE_LIBTOOL_FALSE@fstatvfs.$(OBJEXT) fstatvfs64.$(OBJEXT) \
@@ -298,9 +299,9 @@ LTLIBRARIES = $(noinst_LTLIBRARIES)
@USE_LIBTOOL_TRUE@liblinux_la_OBJECTS = aio.lo brk.lo calloc.lo \
@USE_LIBTOOL_TRUE@callocr.lo cfreer.lo cfspeed.lo clock_getres.lo \
@USE_LIBTOOL_TRUE@clock_gettime.lo clock_settime.lo confstr.lo \
-@USE_LIBTOOL_TRUE@ctermid.lo flockfile.lo fpathconf.lo free.lo freer.lo \
-@USE_LIBTOOL_TRUE@fstab.lo fstatvfs.lo fstatvfs64.lo ftok.lo \
-@USE_LIBTOOL_TRUE@funlockfile.lo getdate.lo getdate_err.lo \
+@USE_LIBTOOL_TRUE@ctermid.lo fclean.lo flockfile.lo fpathconf.lo \
+@USE_LIBTOOL_TRUE@free.lo freer.lo fstab.lo fstatvfs.lo fstatvfs64.lo \
+@USE_LIBTOOL_TRUE@ftok.lo funlockfile.lo getdate.lo getdate_err.lo \
@USE_LIBTOOL_TRUE@gethostname.lo getoptlong.lo getreent.lo \
@USE_LIBTOOL_TRUE@getrlimit64.lo ids.lo inode.lo io.lo io64.lo ipc.lo \
@USE_LIBTOOL_TRUE@linux.lo malign.lo malignr.lo mallinfor.lo mallocr.lo \
diff --git a/newlib/libc/sys/linux/fclean.c b/newlib/libc/sys/linux/fclean.c
new file mode 100644
index 0000000..2fb11fc
--- /dev/null
+++ b/newlib/libc/sys/linux/fclean.c
@@ -0,0 +1,7 @@
+#include <stdio.h>
+
+int
+fclean (FILE *fp)
+{
+ return fflush (fp);
+}