diff options
author | Otto Moerbeek <otto@cvs.openbsd.org> | 2004-09-28 18:12:45 +0000 |
---|---|---|
committer | Otto Moerbeek <otto@cvs.openbsd.org> | 2004-09-28 18:12:45 +0000 |
commit | 1b01d32bc8fc3e400f0de578f43f9a5b67acb19b (patch) | |
tree | aaae6ac5e4e1a1d4f6f30d3f0fe454ad507fd8ed /lib/libc/stdio/getc.c | |
parent | 3f71210b7773e81240667f31ce200b664bb5ee7b (diff) |
deregister + ansify, no change in object code. ok deraadt@ millert@
Diffstat (limited to 'lib/libc/stdio/getc.c')
-rw-r--r-- | lib/libc/stdio/getc.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/lib/libc/stdio/getc.c b/lib/libc/stdio/getc.c index a8257f90a6c..391c5dc6a2a 100644 --- a/lib/libc/stdio/getc.c +++ b/lib/libc/stdio/getc.c @@ -31,7 +31,7 @@ */ #if defined(LIBC_SCCS) && !defined(lint) -static char rcsid[] = "$OpenBSD: getc.c,v 1.4 2003/06/02 20:18:37 millert Exp $"; +static char rcsid[] = "$OpenBSD: getc.c,v 1.5 2004/09/28 18:12:44 otto Exp $"; #endif /* LIBC_SCCS and not lint */ #include <stdio.h> @@ -42,8 +42,7 @@ static char rcsid[] = "$OpenBSD: getc.c,v 1.4 2003/06/02 20:18:37 millert Exp $" #undef getc_unlocked int -getc_unlocked(fp) - FILE *fp; +getc_unlocked(FILE *fp) { return (__sgetc(fp)); } @@ -54,8 +53,7 @@ getc_unlocked(fp) #undef getc int -getc(fp) - register FILE *fp; +getc(FILE *fp) { int c; |