aboutsummaryrefslogtreecommitdiff
path: root/string/strchr.c
diff options
context:
space:
mode:
Diffstat (limited to 'string/strchr.c')
-rw-r--r--string/strchr.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/string/strchr.c b/string/strchr.c
index da69ed2..6bea03e 100644
--- a/string/strchr.c
+++ b/string/strchr.c
@@ -21,16 +21,13 @@
<http://www.gnu.org/licenses/>. */
#include <string.h>
-#include <memcopy.h>
#include <stdlib.h>
#undef strchr
/* Find the first occurrence of C in S. */
char *
-strchr (s, c_in)
- const char *s;
- int c_in;
+strchr (const char *s, int c_in)
{
const unsigned char *char_ptr;
const unsigned long int *longword_ptr;