summaryrefslogtreecommitdiff
path: root/lib/libc/stdio/putc.c
diff options
context:
space:
mode:
authorOtto Moerbeek <otto@cvs.openbsd.org>2004-09-28 18:12:45 +0000
committerOtto Moerbeek <otto@cvs.openbsd.org>2004-09-28 18:12:45 +0000
commit1b01d32bc8fc3e400f0de578f43f9a5b67acb19b (patch)
treeaaae6ac5e4e1a1d4f6f30d3f0fe454ad507fd8ed /lib/libc/stdio/putc.c
parent3f71210b7773e81240667f31ce200b664bb5ee7b (diff)
deregister + ansify, no change in object code. ok deraadt@ millert@
Diffstat (limited to 'lib/libc/stdio/putc.c')
-rw-r--r--lib/libc/stdio/putc.c10
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;