summaryrefslogtreecommitdiff
path: root/lib/libc/string/wcsspn.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/wcsspn.c
parent2e5c48261179adc15f565023a7520fd314ac0588 (diff)
K&R -> ANSI
APIWARN okay millert@, otto@
Diffstat (limited to 'lib/libc/string/wcsspn.c')
-rw-r--r--lib/libc/string/wcsspn.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/lib/libc/string/wcsspn.c b/lib/libc/string/wcsspn.c
index 52b22e3d3bb..80f315f0716 100644
--- a/lib/libc/string/wcsspn.c
+++ b/lib/libc/string/wcsspn.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: wcsspn.c,v 1.1 2005/04/13 16:35:58 espie Exp $ */
+/* $OpenBSD: wcsspn.c,v 1.2 2005/06/19 22:12:07 espie Exp $ */
/* $NetBSD: wcsspn.c,v 1.3 2001/09/21 16:09:15 yamt Exp $ */
/*-
@@ -30,15 +30,13 @@
*/
#if defined(LIBC_SCCS) && !defined(lint)
-static char *rcsid = "$OpenBSD: wcsspn.c,v 1.1 2005/04/13 16:35:58 espie Exp $";
+static char *rcsid = "$OpenBSD: wcsspn.c,v 1.2 2005/06/19 22:12:07 espie Exp $";
#endif /* LIBC_SCCS and not lint */
#include <wchar.h>
size_t
-wcsspn(s, set)
- const wchar_t *s;
- const wchar_t *set;
+wcsspn(const wchar_t *s, const wchar_t *set)
{
const wchar_t *p;
const wchar_t *q;