This is the mail archive of the newlib@sourceware.org mailing list for the newlib project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH 03/11] Remove stray punctuation in ANSI_SYNOPSIS prototypes


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.

Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk>
---
 newlib/ChangeLog            | 6 ++++++
 newlib/libc/string/wcpcpy.c | 2 +-
 newlib/libc/string/wcscpy.c | 2 +-
 3 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/newlib/ChangeLog b/newlib/ChangeLog
index be22009..9eff4eb 100644
--- a/newlib/ChangeLog
+++ b/newlib/ChangeLog
@@ -1,5 +1,11 @@
 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.
+
+2015-06-23  Jon Turney  <jon.turney@dronecode.org.uk>
+
 	* libc/stdlib/itoa.c: Fix makedoc markup.
 	* libc/stdlib/wcsnrtombs.c: Ditto.
 
diff --git a/newlib/libc/string/wcpcpy.c b/newlib/libc/string/wcpcpy.c
index ea687ab..e1d9ad0 100644
--- a/newlib/libc/string/wcpcpy.c
+++ b/newlib/libc/string/wcpcpy.c
@@ -4,7 +4,7 @@ FUNCTION
 
 ANSI_SYNOPSIS
 	#include <wchar.h>
-	wchar_t *wcpcpy(wchar_t *<[s1]>, const wchar_t *,<[s2]>);
+	wchar_t *wcpcpy(wchar_t *<[s1]>, const wchar_t *<[s2]>);
 
 TRAD_SYNOPSIS
 	wchar_t *wcpcpy(<[s1]>, <[s2]>
diff --git a/newlib/libc/string/wcscpy.c b/newlib/libc/string/wcscpy.c
index c75866e..ed8b484 100644
--- a/newlib/libc/string/wcscpy.c
+++ b/newlib/libc/string/wcscpy.c
@@ -5,7 +5,7 @@ FUNCTION
 ANSI_SYNOPSIS
 	#include <wchar.h>
 	wchar_t *wcscpy(wchar_t *__restrict <[s1]>,
-			const wchar_t *__restrict ,<[s2]>);
+			const wchar_t *__restrict <[s2]>);
 
 TRAD_SYNOPSIS
 	wchar_t *wcscpy(<[s1]>, <[s2]>
-- 
2.1.4


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]