diff options
Diffstat (limited to 'src/lib/libc/string/wmemmove.c')
| -rw-r--r-- | src/lib/libc/string/wmemmove.c | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/src/lib/libc/string/wmemmove.c b/src/lib/libc/string/wmemmove.c index e5a0a1fe25..5de2430656 100644 --- a/src/lib/libc/string/wmemmove.c +++ b/src/lib/libc/string/wmemmove.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: wmemmove.c,v 1.1 2005/04/13 16:35:58 espie Exp $ */ | 1 | /* $OpenBSD: wmemmove.c,v 1.2 2005/06/19 22:12:07 espie Exp $ */ |
| 2 | /* $NetBSD: wmemmove.c,v 1.2 2001/01/03 14:29:37 lukem Exp $ */ | 2 | /* $NetBSD: wmemmove.c,v 1.2 2001/01/03 14:29:37 lukem Exp $ */ |
| 3 | 3 | ||
| 4 | /*- | 4 | /*- |
| @@ -30,17 +30,14 @@ | |||
| 30 | */ | 30 | */ |
| 31 | 31 | ||
| 32 | #if defined(LIBC_SCCS) && !defined(lint) | 32 | #if defined(LIBC_SCCS) && !defined(lint) |
| 33 | static char *rcsid = "$OpenBSD: wmemmove.c,v 1.1 2005/04/13 16:35:58 espie Exp $"; | 33 | static char *rcsid = "$OpenBSD: wmemmove.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 <string.h> | 36 | #include <string.h> |
| 37 | #include <wchar.h> | 37 | #include <wchar.h> |
| 38 | 38 | ||
| 39 | wchar_t * | 39 | wchar_t * |
| 40 | wmemmove(d, s, n) | 40 | wmemmove(wchar_t *d, const wchar_t *s, size_t n) |
| 41 | wchar_t *d; | ||
| 42 | const wchar_t *s; | ||
| 43 | size_t n; | ||
| 44 | { | 41 | { |
| 45 | 42 | ||
| 46 | return (wchar_t *)memmove(d, s, n * sizeof(wchar_t)); | 43 | return (wchar_t *)memmove(d, s, n * sizeof(wchar_t)); |
