From fdd0c69b55f6192d1825eb8ddd95bf2806e626f8 Mon Sep 17 00:00:00 2001 From: Mystery Man Date: Fri, 9 Aug 2002 10:26:12 +0000 Subject: This commit was manufactured by cvs2svn to create tag 'V1_1_9_9mdk'. --- mdk-stage1/dietlibc/libstdio/fclose.c | 26 -------------------------- 1 file changed, 26 deletions(-) delete mode 100644 mdk-stage1/dietlibc/libstdio/fclose.c (limited to 'mdk-stage1/dietlibc/libstdio/fclose.c') diff --git a/mdk-stage1/dietlibc/libstdio/fclose.c b/mdk-stage1/dietlibc/libstdio/fclose.c deleted file mode 100644 index a955c6086..000000000 --- a/mdk-stage1/dietlibc/libstdio/fclose.c +++ /dev/null @@ -1,26 +0,0 @@ -#include "dietstdio.h" -#include -#include - -int fclose(FILE *stream) { - int res; -#ifdef WANT_BUFFERED_STDIO - FILE *f,*fl; -#endif - if (!stream) - return EOF; - fflush(stream); - res=close(stream->fd); -#ifdef WANT_BUFFERED_STDIO - for (fl=0,f=__stdio_root; f; fl=f,f=f->next) - if (f==stream) { - if (fl) - fl->next=f->next; - else - __stdio_root=f->next; - break; - } -#endif - free(stream); - return res; -} -- cgit v1.2.1