diff options
Diffstat (limited to 'lib/libc/stdio/getc.c')
-rw-r--r-- | lib/libc/stdio/getc.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/libc/stdio/getc.c b/lib/libc/stdio/getc.c index 1668407..cabc40c 100644 --- a/lib/libc/stdio/getc.c +++ b/lib/libc/stdio/getc.c @@ -46,11 +46,10 @@ static const char rcsid[] = #include <stdio.h> #include "un-namespace.h" #include "libc_private.h" +#include "local.h" -#undef getc int -getc(fp) - register FILE *fp; +getc(FILE *fp) { int retval; FLOCKFILE(fp); |