diff --git a/newlib/ChangeLog b/newlib/ChangeLog index 468703a4a..02065d80f 100644 --- a/newlib/ChangeLog +++ b/newlib/ChangeLog @@ -1,3 +1,9 @@ +2002-07-25 Jeff Johnston + + * 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 * libc/sys/linux/Makefile.am: Add confstr.c. diff --git a/newlib/libc/sys/linux/Makefile.am b/newlib/libc/sys/linux/Makefile.am index 944a1ee0e..d79536201 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 486c5b903..71d7f6b97 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 000000000..2fb11fc83 --- /dev/null +++ b/newlib/libc/sys/linux/fclean.c @@ -0,0 +1,7 @@ +#include + +int +fclean (FILE *fp) +{ + return fflush (fp); +}