summaryrefslogtreecommitdiffstats
path: root/newlib/libc/stdio/getchar_u.c
diff options
context:
space:
mode:
authorJon TURNEY <jon.turney@dronecode.org.uk>2015-06-23 13:02:18 +0100
committerJon TURNEY <jon.turney@dronecode.org.uk>2015-06-23 17:30:17 +0100
commit6c75f6fcb280837e261568a5dd80a23235ddb28f (patch)
tree16ae0b885ecc629af981f91bfb1ec258d770703f /newlib/libc/stdio/getchar_u.c
parente8442c9625162d11ff2f1ab46179ea4e32949f1a (diff)
downloadcygnal-6c75f6fcb280837e261568a5dd80a23235ddb28f.tar.gz
cygnal-6c75f6fcb280837e261568a5dd80a23235ddb28f.tar.bz2
cygnal-6c75f6fcb280837e261568a5dd80a23235ddb28f.zip
Correct a non-ANSI prototype in SYNOPSIS
2015-06-23 Jon Turney <jon.turney@dronecode.org.uk> * libc/stdio/getchar_u.c: Fix a non-ANSI prototype in SYNOPSIS. Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk>
Diffstat (limited to 'newlib/libc/stdio/getchar_u.c')
-rw-r--r--newlib/libc/stdio/getchar_u.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/newlib/libc/stdio/getchar_u.c b/newlib/libc/stdio/getchar_u.c
index 22254cbf5..516b4dbd2 100644
--- a/newlib/libc/stdio/getchar_u.c
+++ b/newlib/libc/stdio/getchar_u.c
@@ -26,7 +26,7 @@ INDEX
SYNOPSIS
#include <stdio.h>
- int getchar_unlocked();
+ int getchar_unlocked(void);
#include <stdio.h>
int _getchar_unlocked_r(struct _reent *<[ptr]>);