summaryrefslogtreecommitdiff
path: root/src/lib/libc/string/wcsncmp.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libc/string/wcsncmp.c')
-rw-r--r--src/lib/libc/string/wcsncmp.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/lib/libc/string/wcsncmp.c b/src/lib/libc/string/wcsncmp.c
index e89b7914d1..aaa96b97a6 100644
--- a/src/lib/libc/string/wcsncmp.c
+++ b/src/lib/libc/string/wcsncmp.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: wcsncmp.c,v 1.1 2005/04/13 16:35:58 espie Exp $ */ 1/* $OpenBSD: wcsncmp.c,v 1.2 2005/06/19 22:12:07 espie Exp $ */
2/* $NetBSD: wcsncmp.c,v 1.5 2003/08/07 16:43:54 agc Exp $ */ 2/* $NetBSD: wcsncmp.c,v 1.5 2003/08/07 16:43:54 agc Exp $ */
3 3
4/* 4/*
@@ -31,16 +31,14 @@
31 */ 31 */
32 32
33#if defined(LIBC_SCCS) && !defined(lint) 33#if defined(LIBC_SCCS) && !defined(lint)
34static char *rcsid = "$OpenBSD: wcsncmp.c,v 1.1 2005/04/13 16:35:58 espie Exp $"; 34static char *rcsid = "$OpenBSD: wcsncmp.c,v 1.2 2005/06/19 22:12:07 espie Exp $";
35#endif /* LIBC_SCCS and not lint */ 35#endif /* LIBC_SCCS and not lint */
36 36
37#include <wchar.h> 37#include <wchar.h>
38#include "locale/runetype.h" 38#include "locale/runetype.h"
39 39
40int 40int
41wcsncmp(s1, s2, n) 41wcsncmp(const wchar_t *s1, const wchar_t *s2, size_t n)
42 const wchar_t *s1, *s2;
43 size_t n;
44{ 42{
45 43
46 if (n == 0) 44 if (n == 0)