diff options
author | Daniel Gerzo <danger@FreeBSD.org> | 2009-02-03 17:58:20 +0000 |
---|---|---|
committer | Daniel Gerzo <danger@FreeBSD.org> | 2009-02-03 17:58:20 +0000 |
commit | bd604b4b064135e661660c045cd31145e2e4ce71 (patch) | |
tree | c5d6de4ed720c8bb5b4d132f30cd8fbd28bbeb81 /lib/libc/string/wmemcpy.c | |
parent | 23ee18767ede4614aedbe8645e896f0194f3500c (diff) |
Notes
Diffstat (limited to 'lib/libc/string/wmemcpy.c')
-rw-r--r-- | lib/libc/string/wmemcpy.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/lib/libc/string/wmemcpy.c b/lib/libc/string/wmemcpy.c index 38d563d8053c..c10770ce4ec5 100644 --- a/lib/libc/string/wmemcpy.c +++ b/lib/libc/string/wmemcpy.c @@ -38,11 +38,7 @@ __FBSDID("$FreeBSD$"); #include <wchar.h> wchar_t * -wmemcpy(d, s, n) - wchar_t * __restrict d; - const wchar_t * __restrict s; - size_t n; +wmemcpy(wchar_t * __restrict d, const wchar_t * __restrict s, size_t n) { - return (wchar_t *)memcpy(d, s, n * sizeof(wchar_t)); } |