From 6b8c0cedae3cfcdbd04dc1ffca2913f46f1a0cfd Mon Sep 17 00:00:00 2001 From: "Peter S. Mazinger" Date: Tue, 15 Nov 2005 14:51:40 +0000 Subject: Correct Warning: function declaration isn't a prototype --- libc/string/generic/strchr.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'libc/string/generic/strchr.c') diff --git a/libc/string/generic/strchr.c b/libc/string/generic/strchr.c index 06476d448..c776380e2 100644 --- a/libc/string/generic/strchr.c +++ b/libc/string/generic/strchr.c @@ -29,9 +29,7 @@ #undef strchr /* Find the first occurrence of C in S. */ -char attribute_hidden *__strchr (s, c_in) - const char *s; - int c_in; +char attribute_hidden *__strchr (const char *s, int c_in) { const unsigned char *char_ptr; const unsigned long int *longword_ptr; -- cgit v1.2.3