diff options
author | ngie <ngie@FreeBSD.org> | 2015-11-25 21:43:05 +0000 |
---|---|---|
committer | ngie <ngie@FreeBSD.org> | 2015-11-25 21:43:05 +0000 |
commit | 8284ff4fd6e167a1c3e661be8ae0ebafa8ced702 (patch) | |
tree | 6e5d603bec212a35871dc8504275b2d348a17dde /lib/libc/stdio/getchar.c | |
parent | 425eeff252fdc30a775caad224498826200d9a49 (diff) | |
download | FreeBSD-src-8284ff4fd6e167a1c3e661be8ae0ebafa8ced702.zip FreeBSD-src-8284ff4fd6e167a1c3e661be8ae0ebafa8ced702.tar.gz |
MFC r288006,r288031,r288032,r288033:
r288006 (by rodrigc):
Add declarations to eliminate -Wmissing-prototypes warnings
r288031 (by rodrigc):
Remove names from some prototypes
r288032 (by rodrigc):
Remove names from some prototypes
r288033 (by rodrigc):
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); |