summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJon TURNEY <jon.turney@dronecode.org.uk>2015-06-23 15:53:51 +0100
committerJon TURNEY <jon.turney@dronecode.org.uk>2015-06-23 17:30:07 +0100
commite8442c9625162d11ff2f1ab46179ea4e32949f1a (patch)
tree22854f54cc76b5f5df5287b58e69c42c5f899f3c
parentc7b1e4cbf2dbd335189a592b2fb865a8160f5c78 (diff)
downloadcygnal-e8442c9625162d11ff2f1ab46179ea4e32949f1a.tar.gz
cygnal-e8442c9625162d11ff2f1ab46179ea4e32949f1a.tar.bz2
cygnal-e8442c9625162d11ff2f1ab46179ea4e32949f1a.zip
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>
-rw-r--r--newlib/ChangeLog6
-rw-r--r--newlib/libc/string/wcpcpy.c2
-rw-r--r--newlib/libc/string/wcscpy.c2
3 files changed, 8 insertions, 2 deletions
diff --git a/newlib/ChangeLog b/newlib/ChangeLog
index be220091c..9eff4ebce 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 ea687abd4..e1d9ad073 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 c75866e1d..ed8b484bc 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]>