aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Stallman <rms@gnu.org>1993-09-28 01:28:00 +0000
committerRichard Stallman <rms@gnu.org>1993-09-28 01:28:00 +0000
commit235174ce3024532ed61336cb9e66c0faa0ca9e37 (patch)
tree8e255bcb5510d6ad97dd130e391b44c987158827
parente26ceb284367fff654268a31fcaa5546d42b5fb0 (diff)
downloadgcc-235174ce3024532ed61336cb9e66c0faa0ca9e37.zip
gcc-235174ce3024532ed61336cb9e66c0faa0ca9e37.tar.gz
gcc-235174ce3024532ed61336cb9e66c0faa0ca9e37.tar.bz2
Declare rindex unconditionally.
From-SVN: r5502
-rw-r--r--gcc/protoize.c3
1 files changed, 2 insertions, 1 deletions
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