diff options
author | 2005-06-19 22:12:07 +0000 | |
---|---|---|
committer | 2005-06-19 22:12:07 +0000 | |
commit | 1c031cf62e216db155a07bad4d48b1226f6cd6e5 (patch) | |
tree | 53341afeb32c1bb268d648e60afd1e55e19a72bf /lib/libc/string/wcsncmp.c | |
parent | Update to sudo 1.6.8p9 (diff) | |
download | wireguard-openbsd-1c031cf62e216db155a07bad4d48b1226f6cd6e5.tar.xz wireguard-openbsd-1c031cf62e216db155a07bad4d48b1226f6cd6e5.zip |
K&R -> ANSI
APIWARN
okay millert@, otto@
Diffstat (limited to 'lib/libc/string/wcsncmp.c')
-rw-r--r-- | lib/libc/string/wcsncmp.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/lib/libc/string/wcsncmp.c b/lib/libc/string/wcsncmp.c index e89b7914d14..aaa96b97a6c 100644 --- a/lib/libc/string/wcsncmp.c +++ b/lib/libc/string/wcsncmp.c @@ -1,4 +1,4 @@ -/* $OpenBSD: wcsncmp.c,v 1.1 2005/04/13 16:35:58 espie Exp $ */ +/* $OpenBSD: wcsncmp.c,v 1.2 2005/06/19 22:12:07 espie Exp $ */ /* $NetBSD: wcsncmp.c,v 1.5 2003/08/07 16:43:54 agc Exp $ */ /* @@ -31,16 +31,14 @@ */ #if defined(LIBC_SCCS) && !defined(lint) -static char *rcsid = "$OpenBSD: wcsncmp.c,v 1.1 2005/04/13 16:35:58 espie Exp $"; +static char *rcsid = "$OpenBSD: wcsncmp.c,v 1.2 2005/06/19 22:12:07 espie Exp $"; #endif /* LIBC_SCCS and not lint */ #include <wchar.h> #include "locale/runetype.h" int -wcsncmp(s1, s2, n) - const wchar_t *s1, *s2; - size_t n; +wcsncmp(const wchar_t *s1, const wchar_t *s2, size_t n) { if (n == 0) |