diff options
Diffstat (limited to 'newlib/libc/stdio/putc.c')
-rw-r--r-- | newlib/libc/stdio/putc.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/newlib/libc/stdio/putc.c b/newlib/libc/stdio/putc.c index 097323417..509aaf48d 100644 --- a/newlib/libc/stdio/putc.c +++ b/newlib/libc/stdio/putc.c @@ -67,7 +67,6 @@ static char sccsid[] = "%W% (Berkeley) %G%"; #include <_ansi.h> #include <stdio.h> -#include "local.h" /* * A subroutine version of the macro putc. @@ -81,8 +80,8 @@ _DEFUN(putc, (c, fp), register FILE *fp) { int result; - CHECK_INIT (_REENT); _flockfile (fp); + /* CHECK_INIT is (eventually) called by __swbuf. */ result = __sputc (c, fp); _funlockfile (fp); return result; |