This is the mail archive of the
newlib@sourceware.org
mailing list for the newlib project.
[PATCH 03/11] Remove stray punctuation in ANSI_SYNOPSIS prototypes
- From: Jon TURNEY <jon dot turney at dronecode dot org dot uk>
- To: newlib at sourceware dot org
- Cc: Jon TURNEY <jon dot turney at dronecode dot org dot uk>
- Date: Tue, 23 Jun 2015 20:49:16 +0100
- Subject: [PATCH 03/11] Remove stray punctuation in ANSI_SYNOPSIS prototypes
- Authentication-results: sourceware.org; auth=none
- References: <1435088964-5096-1-git-send-email-jon dot turney at dronecode dot org dot uk>
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