diff options
Diffstat (limited to 'newlib/libc/stdio/putc_u.c')
-rw-r--r-- | newlib/libc/stdio/putc_u.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/newlib/libc/stdio/putc_u.c b/newlib/libc/stdio/putc_u.c index a3c0e0864..aee11f4e7 100644 --- a/newlib/libc/stdio/putc_u.c +++ b/newlib/libc/stdio/putc_u.c @@ -44,12 +44,14 @@ POSIX 1003.1 requires <<putc_unlocked>>. <<putc_unlocked>> may be implemented as a macro, so arguments should not have side-effects. Supporting OS subroutines required: <<close>>, <<fstat>>, <<isatty>>, -<<lseek>>, <<read>>, <<sbrk>>, <<write>>. */ +<<lseek>>, <<read>>, <<sbrk>>, <<write>>. +*/ #if defined(LIBC_SCCS) && !defined(lint) static char sccsid[] = "%W% (Berkeley) %G%"; #endif /* LIBC_SCCS and not lint */ +#include <_ansi.h> #include <stdio.h> /* @@ -59,9 +61,9 @@ static char sccsid[] = "%W% (Berkeley) %G%"; #undef putc_unlocked int -putc_unlocked (c, fp) - int c; - register FILE *fp; +_DEFUN(putc_unlocked, (c, fp), + int c _AND + register FILE *fp) { /* CHECK_INIT is (eventually) called by __swbuf. */ |