From: Jon TURNEY Date: Tue, 23 Jun 2015 12:02:18 +0000 (+0100) Subject: Correct a non-ANSI prototype in SYNOPSIS X-Git-Tag: newlib-snapshot-20150623~7 X-Git-Url: https://sourceware.org/git/?a=commitdiff_plain;h=6c75f6fcb280837e261568a5dd80a23235ddb28f;p=newlib-cygwin.git Correct a non-ANSI prototype in SYNOPSIS 2015-06-23 Jon Turney * libc/stdio/getchar_u.c: Fix a non-ANSI prototype in SYNOPSIS. Signed-off-by: Jon TURNEY --- diff --git a/newlib/ChangeLog b/newlib/ChangeLog index 9eff4ebce..7c29d88b8 100644 --- a/newlib/ChangeLog +++ b/newlib/ChangeLog @@ -1,3 +1,7 @@ +2015-06-23 Jon Turney + + * libc/stdio/getchar_u.c: Fix a non-ANSI prototype in SYNOPSIS. + 2015-06-23 Jon Turney * libc/string/wcscpy.c: Remove stray ',' from prototype in 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 - int getchar_unlocked(); + int getchar_unlocked(void); #include int _getchar_unlocked_r(struct _reent *<[ptr]>);