summaryrefslogtreecommitdiff
path: root/wcsmbs/wcsdup.c
diff options
context:
space:
mode:
Diffstat (limited to 'wcsmbs/wcsdup.c')
-rw-r--r--wcsmbs/wcsdup.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/wcsmbs/wcsdup.c b/wcsmbs/wcsdup.c
index 58c2c52af7..eb806e3411 100644
--- a/wcsmbs/wcsdup.c
+++ b/wcsmbs/wcsdup.c
@@ -23,8 +23,7 @@
/* Duplicate S, returning an identical malloc'd string. */
wchar_t *
-wcsdup (s)
- const wchar_t *s;
+wcsdup (const wchar_t *s)
{
size_t len = (__wcslen (s) + 1) * sizeof (wchar_t);
void *new = malloc (len);