From 235174ce3024532ed61336cb9e66c0faa0ca9e37 Mon Sep 17 00:00:00 2001 From: Richard Stallman Date: Tue, 28 Sep 1993 01:28:00 +0000 Subject: Declare rindex unconditionally. From-SVN: r5502 --- gcc/protoize.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'gcc') diff --git a/gcc/protoize.c b/gcc/protoize.c index 93b09cf..48c7262 100644 --- a/gcc/protoize.c +++ b/gcc/protoize.c @@ -170,7 +170,6 @@ extern void longjmp (); If so, we would get a warning from this. */ extern size_t strlen () #endif -extern char * rindex (); /* Fork is not declared because the declaration caused a conflict on the HPPA. */ @@ -180,6 +179,8 @@ extern char * rindex (); #endif /* !defined (POSIX) */ +extern char *rindex (); + /* Look for these where the `const' qualifier is intentionally cast aside. */ #define NONCONST -- cgit v1.1