diff options
author | DJ Delorie <dj@redhat.com> | 2005-04-02 20:20:01 +0000 |
---|---|---|
committer | DJ Delorie <dj@redhat.com> | 2005-04-02 20:20:01 +0000 |
commit | aa55ccb12061123ca56c2b61402899b73276d2df (patch) | |
tree | e3c337f9254966a09d397982ff402c3c22c05c21 /libiberty/rindex.c | |
parent | 09d4efe17b398dc08e4ec0869a8f9df2dc271f99 (diff) | |
download | gdb-aa55ccb12061123ca56c2b61402899b73276d2df.zip gdb-aa55ccb12061123ca56c2b61402899b73276d2df.tar.gz gdb-aa55ccb12061123ca56c2b61402899b73276d2df.tar.bz2 |
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 741fd8e..194ef9f 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); } |