X-Git-Url: https://oss.titaniummirror.com/gitweb?a=blobdiff_plain;f=libiberty%2Frindex.c;fp=libiberty%2Frindex.c;h=194ef9fad7861a60e7789023318e4d59413293ff;hb=6fed43773c9b0ce596dca5686f37ac3fc0fa11c0;hp=ef9cdc59877dc1a83ce479786c88ca913579dfaa;hpb=27b11d56b743098deb193d510b337ba22dc52e5c;p=msp430-gcc.git diff --git a/libiberty/rindex.c b/libiberty/rindex.c index ef9cdc59..194ef9fa 100644 --- a/libiberty/rindex.c +++ b/libiberty/rindex.c @@ -12,12 +12,10 @@ deprecated in new programs in favor of @code{strrchr}. */ -extern char *strrchr (); +extern char *strrchr (const char *, int); char * -rindex (s, c) - char *s; - int c; +rindex (const char *s, int c) { return strrchr (s, c); }