summaryrefslogtreecommitdiff
path: root/lib/libc/string/strnstr.c
diff options
context:
space:
mode:
authorDaniel Gerzo <danger@FreeBSD.org>2009-02-03 17:58:20 +0000
committerDaniel Gerzo <danger@FreeBSD.org>2009-02-03 17:58:20 +0000
commitbd604b4b064135e661660c045cd31145e2e4ce71 (patch)
treec5d6de4ed720c8bb5b4d132f30cd8fbd28bbeb81 /lib/libc/string/strnstr.c
parent23ee18767ede4614aedbe8645e896f0194f3500c (diff)
Notes
Diffstat (limited to 'lib/libc/string/strnstr.c')
-rw-r--r--lib/libc/string/strnstr.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/lib/libc/string/strnstr.c b/lib/libc/string/strnstr.c
index bbb1ca64e456..45be95d12a1d 100644
--- a/lib/libc/string/strnstr.c
+++ b/lib/libc/string/strnstr.c
@@ -44,10 +44,7 @@ __FBSDID("$FreeBSD$");
* first slen characters of s.
*/
char *
-strnstr(s, find, slen)
- const char *s;
- const char *find;
- size_t slen;
+strnstr(const char *s, const char *find, size_t slen)
{
char c, sc;
size_t len;