From dd611c3aaf84a5329ce7642bf97e61f4fa7f2d65 Mon Sep 17 00:00:00 2001 From: espie <> Date: Sun, 19 Jun 2005 22:12:07 +0000 Subject: K&R -> ANSI APIWARN okay millert@, otto@ --- src/lib/libc/string/wcstok.c | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'src/lib/libc/string/wcstok.c') diff --git a/src/lib/libc/string/wcstok.c b/src/lib/libc/string/wcstok.c index 1b0790fdc6..619aea8acb 100644 --- a/src/lib/libc/string/wcstok.c +++ b/src/lib/libc/string/wcstok.c @@ -1,4 +1,4 @@ -/* $OpenBSD: wcstok.c,v 1.1 2005/04/13 16:35:58 espie Exp $ */ +/* $OpenBSD: wcstok.c,v 1.2 2005/06/19 22:12:07 espie Exp $ */ /* $NetBSD: wcstok.c,v 1.3 2003/07/10 08:50:48 tshiozak Exp $ */ /*- @@ -43,16 +43,14 @@ */ #if defined(LIBC_SCCS) && !defined(lint) -static char *rcsid = "$OpenBSD: wcstok.c,v 1.1 2005/04/13 16:35:58 espie Exp $"; +static char *rcsid = "$OpenBSD: wcstok.c,v 1.2 2005/06/19 22:12:07 espie Exp $"; #endif /* LIBC_SCCS and not lint */ #include wchar_t * -wcstok(s, delim, last) - wchar_t * __restrict s; - const wchar_t * __restrict delim; - wchar_t ** __restrict last; +wcstok(wchar_t * __restrict s, const wchar_t * __restrict delim, + wchar_t ** __restrict last) { const wchar_t *spanp; wchar_t c, sc; -- cgit v1.2.3-55-g6feb