diff options
Diffstat (limited to 'contrib/binutils/libiberty/index.c')
-rw-r--r-- | contrib/binutils/libiberty/index.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/contrib/binutils/libiberty/index.c b/contrib/binutils/libiberty/index.c index a2e2727..acd0a45 100644 --- a/contrib/binutils/libiberty/index.c +++ b/contrib/binutils/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 (const char *s, int c) { return strchr (s, c); } |