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/strlen.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'libc/string/generic/strlen.c') diff --git a/libc/string/generic/strlen.c b/libc/string/generic/strlen.c index a7a4ec20d..aca8c2bd9 100644 --- a/libc/string/generic/strlen.c +++ b/libc/string/generic/strlen.c @@ -26,8 +26,7 @@ /* Return the length of the null-terminated string STR. Scan for the null terminator quickly by testing four bytes at a time. */ -size_t attribute_hidden __strlen (str) - const char *str; +size_t attribute_hidden __strlen (const char *str) { const char *char_ptr; const unsigned long int *longword_ptr; -- cgit v1.2.3