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