summaryrefslogtreecommitdiff
path: root/lib/libc/string/wcsncpy.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/string/wcsncpy.c')
-rw-r--r--lib/libc/string/wcsncpy.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/lib/libc/string/wcsncpy.c b/lib/libc/string/wcsncpy.c
index aa7bf95919c..2bf020e2681 100644
--- a/lib/libc/string/wcsncpy.c
+++ b/lib/libc/string/wcsncpy.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: wcsncpy.c,v 1.1 2005/04/13 16:35:58 espie Exp $ */
+/* $OpenBSD: wcsncpy.c,v 1.2 2005/06/19 22:12:07 espie Exp $ */
/* $NetBSD: wcsncpy.c,v 1.2 2001/01/03 14:29:37 lukem Exp $ */
/*-
@@ -30,16 +30,13 @@
*/
#if defined(LIBC_SCCS) && !defined(lint)
-static char *rcsid = "$OpenBSD: wcsncpy.c,v 1.1 2005/04/13 16:35:58 espie Exp $";
+static char *rcsid = "$OpenBSD: wcsncpy.c,v 1.2 2005/06/19 22:12:07 espie Exp $";
#endif /* LIBC_SCCS and not lint */
#include <wchar.h>
wchar_t *
-wcsncpy(s1, s2, n)
- wchar_t *s1;
- const wchar_t *s2;
- size_t n;
+wcsncpy(wchar_t *s1, const wchar_t *s2, size_t n)
{
wchar_t *p;
const wchar_t *q;