aboutsummaryrefslogtreecommitdiff
path: root/libio/getchar.c
diff options
context:
space:
mode:
Diffstat (limited to 'libio/getchar.c')
-rw-r--r--libio/getchar.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libio/getchar.c b/libio/getchar.c
index 4a415f7dff..17709bf451 100644
--- a/libio/getchar.c
+++ b/libio/getchar.c
@@ -30,7 +30,7 @@
#undef getchar
int
-getchar ()
+getchar (void)
{
int result;
_IO_acquire_lock (_IO_stdin);