]> oss.titaniummirror.com Git - msp430-gcc.git/blobdiff - libiberty/rindex.c
Imported gcc-4.4.3
[msp430-gcc.git] / libiberty / rindex.c
index ef9cdc59877dc1a83ce479786c88ca913579dfaa..194ef9fad7861a60e7789023318e4d59413293ff 100644 (file)
@@ -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);
 }