summaryrefslogtreecommitdiff
path: root/src/lib/libc/string/wmemcmp.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libc/string/wmemcmp.c')
-rw-r--r--src/lib/libc/string/wmemcmp.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/src/lib/libc/string/wmemcmp.c b/src/lib/libc/string/wmemcmp.c
index 4792a3b456..fc021c11d1 100644
--- a/src/lib/libc/string/wmemcmp.c
+++ b/src/lib/libc/string/wmemcmp.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: wmemcmp.c,v 1.1 2005/04/13 16:35:58 espie Exp $ */ 1/* $OpenBSD: wmemcmp.c,v 1.2 2005/06/19 22:12:07 espie Exp $ */
2/* $NetBSD: wmemcmp.c,v 1.3 2003/04/06 18:33:23 tshiozak Exp $ */ 2/* $NetBSD: wmemcmp.c,v 1.3 2003/04/06 18:33:23 tshiozak 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)
33static char *rcsid = "$OpenBSD: wmemcmp.c,v 1.1 2005/04/13 16:35:58 espie Exp $"; 33static char *rcsid = "$OpenBSD: wmemcmp.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#include "locale/runetype.h" 37#include "locale/runetype.h"
38 38
39int 39int
40wmemcmp(s1, s2, n) 40wmemcmp(const wchar_t *s1, const wchar_t *s2, size_t n)
41 const wchar_t *s1;
42 const wchar_t *s2;
43 size_t n;
44{ 41{
45 size_t i; 42 size_t i;
46 43