diff options
Diffstat (limited to 'libc/stdio/fputc.c')
-rw-r--r-- | libc/stdio/fputc.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/libc/stdio/fputc.c b/libc/stdio/fputc.c index 2a6e7b745..90809e234 100644 --- a/libc/stdio/fputc.c +++ b/libc/stdio/fputc.c @@ -33,14 +33,9 @@ #include <stdio.h> #include <errno.h> -#include "local.h" int fputc(int c, FILE *fp) { - if (cantwrite(fp)) { - errno = EBADF; - return (EOF); - } return (putc(c, fp)); } |