From ff17de3853153fe69601eac8e59ac2cddc50408a Mon Sep 17 00:00:00 2001
From: danger <danger@FreeBSD.org>
Date: Tue, 3 Feb 2009 17:58:20 +0000
Subject: - ANSIfy function definitions - use nul when we are looking for a
 terminating character where appropriate

Approved by:	imp
---
 lib/libc/string/strnstr.c | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

(limited to 'lib/libc/string/strnstr.c')

diff --git a/lib/libc/string/strnstr.c b/lib/libc/string/strnstr.c
index bbb1ca6..45be95d 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;
-- 
cgit v1.1