diff options
author | Peter S. Mazinger <ps.m@gmx.net> | 2005-11-15 14:51:40 +0000 |
---|---|---|
committer | Peter S. Mazinger <ps.m@gmx.net> | 2005-11-15 14:51:40 +0000 |
commit | 6b8c0cedae3cfcdbd04dc1ffca2913f46f1a0cfd (patch) | |
tree | 4cb9a46364c61c54cf20cc11df935942d5b0954b /libc/string/generic/strchr.c | |
parent | a9f5aa1cc96fc2c71f19a9c3e9dcbee0e78f83ca (diff) |
Correct Warning: function declaration isn't a prototype
Diffstat (limited to 'libc/string/generic/strchr.c')
-rw-r--r-- | libc/string/generic/strchr.c | 4 |
1 files changed, 1 insertions, 3 deletions
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; |