summaryrefslogtreecommitdiff
path: root/libiberty/rindex.c
diff options
context:
space:
mode:
authorDJ Delorie <dj@delorie.com>2005-04-02 20:20:01 +0000
committerDJ Delorie <dj@delorie.com>2005-04-02 20:20:01 +0000
commit7c2dd96918f16cacb30d834943b7266ee3d4bd66 (patch)
tree71b980abbe22622e8ce9cb4d0a79a379951841cc /libiberty/rindex.c
parent40f66b286bce3104f9fd01620de4c1aa5c861e7a (diff)
downloadgdb-7c2dd96918f16cacb30d834943b7266ee3d4bd66.tar.gz
merge from gcc
Diffstat (limited to 'libiberty/rindex.c')
-rw-r--r--libiberty/rindex.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libiberty/rindex.c b/libiberty/rindex.c
index 741fd8ecb7c..194ef9fad78 100644
--- a/libiberty/rindex.c
+++ b/libiberty/rindex.c
@@ -12,10 +12,10 @@ deprecated in new programs in favor of @code{strrchr}.
*/
-extern char *strrchr ();
+extern char *strrchr (const char *, int);
char *
-rindex (char *s, int c)
+rindex (const char *s, int c)
{
return strrchr (s, c);
}