summaryrefslogtreecommitdiff
path: root/lib/libc/string/wmemcmp.c
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2005-06-19 22:12:08 +0000
committerMarc Espie <espie@cvs.openbsd.org>2005-06-19 22:12:08 +0000
commit3957ca90a5622f6255ef6db322a41f7ffdfe46f4 (patch)
tree185c77bcab59cd8e974a1faf6ffe84dfa1df6509 /lib/libc/string/wmemcmp.c
parent2e5c48261179adc15f565023a7520fd314ac0588 (diff)
K&R -> ANSI
APIWARN okay millert@, otto@
Diffstat (limited to 'lib/libc/string/wmemcmp.c')
-rw-r--r--lib/libc/string/wmemcmp.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/lib/libc/string/wmemcmp.c b/lib/libc/string/wmemcmp.c
index 4792a3b4561..fc021c11d12 100644
--- a/lib/libc/string/wmemcmp.c
+++ b/lib/libc/string/wmemcmp.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: wmemcmp.c,v 1.1 2005/04/13 16:35:58 espie Exp $ */
+/* $OpenBSD: wmemcmp.c,v 1.2 2005/06/19 22:12:07 espie Exp $ */
/* $NetBSD: wmemcmp.c,v 1.3 2003/04/06 18:33:23 tshiozak Exp $ */
/*-
@@ -30,17 +30,14 @@
*/
#if defined(LIBC_SCCS) && !defined(lint)
-static char *rcsid = "$OpenBSD: wmemcmp.c,v 1.1 2005/04/13 16:35:58 espie Exp $";
+static char *rcsid = "$OpenBSD: wmemcmp.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
-wmemcmp(s1, s2, n)
- const wchar_t *s1;
- const wchar_t *s2;
- size_t n;
+wmemcmp(const wchar_t *s1, const wchar_t *s2, size_t n)
{
size_t i;