diff options
Diffstat (limited to 'lib/libc/stdio/putc.c')
-rw-r--r-- | lib/libc/stdio/putc.c | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/lib/libc/stdio/putc.c b/lib/libc/stdio/putc.c index a5fb50ecebe..afeac63789f 100644 --- a/lib/libc/stdio/putc.c +++ b/lib/libc/stdio/putc.c @@ -31,7 +31,7 @@ */ #if defined(LIBC_SCCS) && !defined(lint) -static char rcsid[] = "$OpenBSD: putc.c,v 1.5 2003/06/02 20:18:37 millert Exp $"; +static char rcsid[] = "$OpenBSD: putc.c,v 1.6 2004/09/28 18:12:44 otto Exp $"; #endif /* LIBC_SCCS and not lint */ #include <stdio.h> @@ -44,9 +44,7 @@ static char rcsid[] = "$OpenBSD: putc.c,v 1.5 2003/06/02 20:18:37 millert Exp $" #undef putc_unlocked int -putc_unlocked(c, fp) - int c; - register FILE *fp; +putc_unlocked(int c, FILE *fp) { if (cantwrite(fp)) { errno = EBADF; @@ -61,9 +59,7 @@ putc_unlocked(c, fp) #undef putc int -putc(c, fp) - int c; - FILE *fp; +putc(int c, FILE *fp) { int ret; |