OSDN Git Service

2002-07-25 Jeff Johnston <jjohnstn@redhat.com>
authorjjohnstn <jjohnstn>
Thu, 25 Jul 2002 20:09:19 +0000 (20:09 +0000)
committerjjohnstn <jjohnstn>
Thu, 25 Jul 2002 20:09:19 +0000 (20:09 +0000)
        * libc/sys/linux/Makefile.am: Add fclean.c.
        * libc/sys/linux/Makefile.in: Regenerated.
        * libc/sys/linux/fclean.c: New file.

newlib/ChangeLog
newlib/libc/sys/linux/Makefile.am
newlib/libc/sys/linux/Makefile.in
newlib/libc/sys/linux/fclean.c [new file with mode: 0644]

index 468703a..02065d8 100644 (file)
@@ -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.
index 944a1ee..d795362 100644 (file)
@@ -21,6 +21,7 @@ LIB_SOURCES = \
        clock_settime.c \
        confstr.c \
        ctermid.c \
+       fclean.c \
        flockfile.c \
        fpathconf.c \
        free.c \
index 486c5b9..71d7f6b 100644 (file)
@@ -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 (file)
index 0000000..2fb11fc
--- /dev/null
@@ -0,0 +1,7 @@
+#include <stdio.h>
+
+int
+fclean (FILE *fp)
+{
+  return fflush (fp);
+}