diff options
Diffstat (limited to 'libiberty/index.c')
-rw-r--r-- | libiberty/index.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/libiberty/index.c b/libiberty/index.c index a2e2727..c37edca 100644 --- a/libiberty/index.c +++ b/libiberty/index.c @@ -12,12 +12,10 @@ deprecated in new programs in favor of @code{strchr}. */ -extern char * strchr(); +extern char * strchr(const char *, int); char * -index (s, c) - char *s; - int c; +index (char *s, int c) { return strchr (s, c); } |