diff options
Diffstat (limited to 'libiberty/index.c')
-rw-r--r-- | libiberty/index.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libiberty/index.c b/libiberty/index.c index c37edca..acd0a45 100644 --- a/libiberty/index.c +++ b/libiberty/index.c @@ -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); } |