diff options
author | Dave Love <fx@gnu.org> | 2000-09-04 15:26:16 +0000 |
---|---|---|
committer | Dave Love <fx@gnu.org> | 2000-09-04 15:26:16 +0000 |
commit | 517699cac6c0f4985ed4c5f4992b6bf6ceccfc25 (patch) | |
tree | d57ea3801400053edee71b1ea14b07ae16441c44 | |
parent | 7d817b836182273ee77bbd79010676ebb204efe4 (diff) | |
download | emacs-517699cac6c0f4985ed4c5f4992b6bf6ceccfc25.tar.gz |
(index, rindex): Prototype conditionally.
-rw-r--r-- | lib-src/ChangeLog | 4 | ||||
-rw-r--r-- | lib-src/movemail.c | 7 |
2 files changed, 10 insertions, 1 deletions
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 <fx@gnu.org> + + * movemail.c (index, rindex): Prototype conditionally. + 2000-09-03 Andrew Innes <andrewi@gnu.org> * 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 (); |