From 959a1722faec6b30510c788c49dcb4b7cb96d1e0 Mon Sep 17 00:00:00 2001 From: Mystery Man Date: Fri, 20 Feb 2004 00:03:26 +0000 Subject: This commit was manufactured by cvs2svn to create tag 'V10_0_21mdk'. --- mdk-stage1/dietlibc/libstdio/ungetc.c | 10 ---------- 1 file changed, 10 deletions(-) delete mode 100644 mdk-stage1/dietlibc/libstdio/ungetc.c (limited to 'mdk-stage1/dietlibc/libstdio/ungetc.c') diff --git a/mdk-stage1/dietlibc/libstdio/ungetc.c b/mdk-stage1/dietlibc/libstdio/ungetc.c deleted file mode 100644 index 133e92820..000000000 --- a/mdk-stage1/dietlibc/libstdio/ungetc.c +++ /dev/null @@ -1,10 +0,0 @@ -#include "dietstdio.h" - -int ungetc(int c, FILE *stream) { - if (stream->ungotten || c<0 || c>255) - return EOF; - stream->ungotten=1; - stream->ungetbuf=(unsigned char)c; - stream->flags&=~(ERRORINDICATOR|EOFINDICATOR); - return c; -} -- cgit v1.2.1