summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdio/getchar.c
diff options
context:
space:
mode:
authorngie <ngie@FreeBSD.org>2015-11-25 21:43:05 +0000
committerngie <ngie@FreeBSD.org>2015-11-25 21:43:05 +0000
commit8284ff4fd6e167a1c3e661be8ae0ebafa8ced702 (patch)
tree6e5d603bec212a35871dc8504275b2d348a17dde /lib/libc/stdio/getchar.c
parent425eeff252fdc30a775caad224498826200d9a49 (diff)
downloadFreeBSD-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.c2
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);
OpenPOWER on IntegriCloud