diff options
author | DJ Delorie <dj@delorie.com> | 2005-04-02 20:20:01 +0000 |
---|---|---|
committer | DJ Delorie <dj@delorie.com> | 2005-04-02 20:20:01 +0000 |
commit | 7c2dd96918f16cacb30d834943b7266ee3d4bd66 (patch) | |
tree | 71b980abbe22622e8ce9cb4d0a79a379951841cc /libiberty/rindex.c | |
parent | 40f66b286bce3104f9fd01620de4c1aa5c861e7a (diff) | |
download | gdb-7c2dd96918f16cacb30d834943b7266ee3d4bd66.tar.gz |
merge from gcc
Diffstat (limited to 'libiberty/rindex.c')
-rw-r--r-- | libiberty/rindex.c | 4 |
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); } |