summaryrefslogtreecommitdiff
path: root/wcsmbs/wcsncpy.c
diff options
context:
space:
mode:
Diffstat (limited to 'wcsmbs/wcsncpy.c')
-rw-r--r--wcsmbs/wcsncpy.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/wcsmbs/wcsncpy.c b/wcsmbs/wcsncpy.c
index 5ee5ee6bde..306c52b8ba 100644
--- a/wcsmbs/wcsncpy.c
+++ b/wcsmbs/wcsncpy.c
@@ -24,10 +24,7 @@
/* Copy no more than N wide-characters of SRC to DEST. */
wchar_t *
-__wcsncpy (dest, src, n)
- wchar_t *dest;
- const wchar_t *src;
- size_t n;
+__wcsncpy (wchar_t *dest, const wchar_t *src, size_t n)
{
wint_t c;
wchar_t *const s = dest;