diff options
Diffstat (limited to 'lib/libc/stdio/ungetc.c')
-rw-r--r-- | lib/libc/stdio/ungetc.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/libc/stdio/ungetc.c b/lib/libc/stdio/ungetc.c index cb38e9e..9ede083 100644 --- a/lib/libc/stdio/ungetc.c +++ b/lib/libc/stdio/ungetc.c @@ -96,8 +96,6 @@ ungetc(int c, FILE *fp) { int ret; - if (c == EOF) - return (EOF); if (!__sdidinit) __sinit(); FLOCKFILE(fp); |