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