]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - libiberty/index.c
Revert "sphinx: add --with-sphinx-build"
[thirdparty/gcc.git] / libiberty / index.c
index c37edca024ea735aa0e0d6808319cc6c37cd424e..acd0a45fc0295bcafd7baf3f114ff9a4f8a8761f 100644 (file)
@@ -15,7 +15,7 @@ deprecated in new programs in favor of @code{strchr}.
 extern char * strchr(const char *, int);
 
 char *
-index (char *s, int c)
+index (const char *s, int c)
 {
   return strchr (s, c);
 }