From 4a8dea8cf97aab33f4e6a11afcc64dd9562f3bfd Mon Sep 17 00:00:00 2001 From: Ed Maste Date: Sun, 19 Nov 2017 00:31:13 +0000 Subject: ANSIfy sys/libkern PR: 223641 Submitted by: ota@j.email.ne.jp MFC after: 1 week --- sys/libkern/strcmp.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'sys/libkern/strcmp.c') diff --git a/sys/libkern/strcmp.c b/sys/libkern/strcmp.c index 8b80027a35b1..fcfdde8fface 100644 --- a/sys/libkern/strcmp.c +++ b/sys/libkern/strcmp.c @@ -39,8 +39,7 @@ __FBSDID("$FreeBSD$"); * Compare strings. */ int -strcmp(s1, s2) - const char *s1, *s2; +strcmp(const char *s1, const char *s2) { while (*s1 == *s2++) if (*s1++ == 0) -- cgit v1.2.3