|
|
@ -1,4 +1,4 @@ |
|
|
|
/* $OpenBSD: wcscpy.c,v 1.1 2005/04/13 16:35:58 espie Exp $ */ |
|
|
|
/* $OpenBSD: wcscpy.c,v 1.2 2005/04/16 10:40:45 tom Exp $ */ |
|
|
|
/* $NetBSD: wcscpy.c,v 1.2 2001/01/03 14:29:36 lukem Exp $ */ |
|
|
|
|
|
|
|
/*- |
|
|
@ -30,7 +30,7 @@ |
|
|
|
*/ |
|
|
|
|
|
|
|
#if defined(LIBC_SCCS) && !defined(lint) |
|
|
|
static char *rcsid = "$OpenBSD: wcscpy.c,v 1.1 2005/04/13 16:35:58 espie Exp $"; |
|
|
|
static char *rcsid = "$OpenBSD: wcscpy.c,v 1.2 2005/04/16 10:40:45 tom Exp $"; |
|
|
|
#endif /* LIBC_SCCS and not lint */ |
|
|
|
|
|
|
|
#include <wchar.h> |
|
|
@ -43,7 +43,6 @@ wcscpy(s1, s2) |
|
|
|
wchar_t *p; |
|
|
|
const wchar_t *q; |
|
|
|
|
|
|
|
*s1 = '\0'; |
|
|
|
p = s1; |
|
|
|
q = s2; |
|
|
|
while (*q) |
|
|
|