From 3957ca90a5622f6255ef6db322a41f7ffdfe46f4 Mon Sep 17 00:00:00 2001 From: Marc Espie Date: Sun, 19 Jun 2005 22:12:08 +0000 Subject: K&R -> ANSI APIWARN okay millert@, otto@ --- lib/libc/string/wmemcpy.c | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'lib/libc/string/wmemcpy.c') diff --git a/lib/libc/string/wmemcpy.c b/lib/libc/string/wmemcpy.c index 628795ce41d..6e7e030472d 100644 --- a/lib/libc/string/wmemcpy.c +++ b/lib/libc/string/wmemcpy.c @@ -1,4 +1,4 @@ -/* $OpenBSD: wmemcpy.c,v 1.1 2005/04/13 16:35:58 espie Exp $ */ +/* $OpenBSD: wmemcpy.c,v 1.2 2005/06/19 22:12:07 espie Exp $ */ /* $NetBSD: wmemcpy.c,v 1.2 2001/01/03 14:29:37 lukem Exp $ */ /*- @@ -30,17 +30,14 @@ */ #if defined(LIBC_SCCS) && !defined(lint) -static char *rcsid = "$OpenBSD: wmemcpy.c,v 1.1 2005/04/13 16:35:58 espie Exp $"; +static char *rcsid = "$OpenBSD: wmemcpy.c,v 1.2 2005/06/19 22:12:07 espie Exp $"; #endif /* LIBC_SCCS and not lint */ #include #include wchar_t * -wmemcpy(d, s, n) - wchar_t *d; - const wchar_t *s; - size_t n; +wmemcpy(wchar_t *d, const wchar_t *s, size_t n) { return (wchar_t *)memcpy(d, s, n * sizeof(wchar_t)); -- cgit v1.2.3