X-Git-Url: https://oss.titaniummirror.com/gitweb?a=blobdiff_plain;f=libiberty%2Findex.c;fp=libiberty%2Findex.c;h=acd0a45fc0295bcafd7baf3f114ff9a4f8a8761f;hb=6fed43773c9b0ce596dca5686f37ac3fc0fa11c0;hp=a2e272783b908824d6903fd8ddaf9ecdb90d2c5e;hpb=27b11d56b743098deb193d510b337ba22dc52e5c;p=msp430-gcc.git diff --git a/libiberty/index.c b/libiberty/index.c index a2e27278..acd0a45f 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 (const char *s, int c) { return strchr (s, c); }