From aa55ccb12061123ca56c2b61402899b73276d2df Mon Sep 17 00:00:00 2001 From: DJ Delorie Date: Sat, 2 Apr 2005 20:20:01 +0000 Subject: merge from gcc --- libiberty/rindex.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libiberty/rindex.c') 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); } -- cgit v1.1