[PATCH 04/11] Correct a non-ANSI prototype in SYNOPSIS

Jon TURNEY jon.turney@dronecode.org.uk
Tue Jun 23 19:50:00 GMT 2015


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>
---
 newlib/ChangeLog              | 4 ++++
 newlib/libc/stdio/getchar_u.c | 2 +-
 2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/newlib/ChangeLog b/newlib/ChangeLog
index 9eff4eb..7c29d88 100644
--- a/newlib/ChangeLog
+++ b/newlib/ChangeLog
@@ -1,5 +1,9 @@
 2015-06-23  Jon Turney  <jon.turney@dronecode.org.uk>
 
+	* libc/stdio/getchar_u.c: Fix a non-ANSI prototype in SYNOPSIS.
+
+2015-06-23  Jon Turney  <jon.turney@dronecode.org.uk>
+
 	* libc/string/wcscpy.c: Remove stray ',' from prototype in
 	ANSI_SYNOPSIS.
 	* libc/string/wcpcpy.c: Ditto.
diff --git a/newlib/libc/stdio/getchar_u.c b/newlib/libc/stdio/getchar_u.c
index 22254cb..516b4db 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]>);
-- 
2.1.4



More information about the Newlib mailing list