summaryrefslogtreecommitdiff
path: root/lib-src/movemail.c
diff options
context:
space:
mode:
authorDave Love <fx@gnu.org>2000-09-04 15:26:16 +0000
committerDave Love <fx@gnu.org>2000-09-04 15:26:16 +0000
commit517699cac6c0f4985ed4c5f4992b6bf6ceccfc25 (patch)
treed57ea3801400053edee71b1ea14b07ae16441c44 /lib-src/movemail.c
parent7d817b836182273ee77bbd79010676ebb204efe4 (diff)
downloademacs-517699cac6c0f4985ed4c5f4992b6bf6ceccfc25.tar.gz
(index, rindex): Prototype conditionally.
Diffstat (limited to 'lib-src/movemail.c')
-rw-r--r--lib-src/movemail.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/lib-src/movemail.c b/lib-src/movemail.c
index cfe817c1119..61d58688901 100644
--- a/lib-src/movemail.c
+++ b/lib-src/movemail.c
@@ -143,7 +143,12 @@ static char *mail_spool_name ();
extern int errno;
#endif
char *strerror ();
-extern char *rindex ();
+#ifdef HAVE_INDEX
+extern char *index __P ((const char *, int));
+#endif
+#ifdef HAVE_RINDEX
+extern char *rindex __P((const char *, int));
+#endif
void fatal ();
void error ();