From: Dave Love Date: Mon, 4 Sep 2000 15:26:16 +0000 (+0000) Subject: (index, rindex): Prototype conditionally. X-Git-Tag: emacs-pretest-21.0.90~1804 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=517699cac6c0f4985ed4c5f4992b6bf6ceccfc25;p=emacs.git (index, rindex): Prototype conditionally. --- diff --git a/lib-src/ChangeLog b/lib-src/ChangeLog index 11dc8cfeaa8..26449633c3e 100644 --- a/lib-src/ChangeLog +++ b/lib-src/ChangeLog @@ -1,3 +1,7 @@ +2000-09-04 Dave Love + + * movemail.c (index, rindex): Prototype conditionally. + 2000-09-03 Andrew Innes * makefile.w32-in: Change to DOS line endings. 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 ();