diff options
Diffstat (limited to 'newlib/libc/stdio/getc_u.c')
-rw-r--r-- | newlib/libc/stdio/getc_u.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/newlib/libc/stdio/getc_u.c b/newlib/libc/stdio/getc_u.c index 877c7f8a0..9c05fa6f5 100644 --- a/newlib/libc/stdio/getc_u.c +++ b/newlib/libc/stdio/getc_u.c @@ -50,6 +50,7 @@ Supporting OS subroutines required: <<close>>, <<fstat>>, <<isatty>>, static char sccsid[] = "%W% (Berkeley) %G%"; #endif /* LIBC_SCCS and not lint */ +#include <_ansi.h> #include <stdio.h> /* @@ -59,8 +60,8 @@ static char sccsid[] = "%W% (Berkeley) %G%"; #undef getc_unlocked int -getc_unlocked (fp) - register FILE *fp; +_DEFUN(getc_unlocked, (fp), + register FILE *fp) { /* CHECK_INIT is called (eventually) by __srefill. */ |