diff options
author | rodrigc <rodrigc@FreeBSD.org> | 2015-09-20 20:28:49 +0000 |
---|---|---|
committer | rodrigc <rodrigc@FreeBSD.org> | 2015-09-20 20:28:49 +0000 |
commit | e5a64a53e6f41e1fb2f62f6b0fdfdbe1b7d5f5b0 (patch) | |
tree | 996688ef2df5a8bbdf03a5f32369cbfdcb9783eb /lib/libc/stdio/getchar.c | |
parent | a60b0abd9a35fd6c384506295aa6e5d23775994f (diff) | |
download | FreeBSD-src-e5a64a53e6f41e1fb2f62f6b0fdfdbe1b7d5f5b0.zip FreeBSD-src-e5a64a53e6f41e1fb2f62f6b0fdfdbe1b7d5f5b0.tar.gz |
Use ANSI C prototypes. Eliminates -Wold-style-definition warnings.
Diffstat (limited to 'lib/libc/stdio/getchar.c')
-rw-r--r-- | lib/libc/stdio/getchar.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libc/stdio/getchar.c b/lib/libc/stdio/getchar.c index 21040bc..2815072 100644 --- a/lib/libc/stdio/getchar.c +++ b/lib/libc/stdio/getchar.c @@ -49,7 +49,7 @@ __FBSDID("$FreeBSD$"); #undef getchar_unlocked int -getchar() +getchar(void) { int retval; FLOCKFILE(stdin); |