aboutsummaryrefslogtreecommitdiffstats
path: root/lib-src
diff options
context:
space:
mode:
authorDave Love2000-09-04 15:26:16 +0000
committerDave Love2000-09-04 15:26:16 +0000
commit517699cac6c0f4985ed4c5f4992b6bf6ceccfc25 (patch)
treed57ea3801400053edee71b1ea14b07ae16441c44 /lib-src
parent7d817b836182273ee77bbd79010676ebb204efe4 (diff)
downloademacs-517699cac6c0f4985ed4c5f4992b6bf6ceccfc25.tar.gz
emacs-517699cac6c0f4985ed4c5f4992b6bf6ceccfc25.zip
(index, rindex): Prototype conditionally.
Diffstat (limited to 'lib-src')
-rw-r--r--lib-src/ChangeLog4
-rw-r--r--lib-src/movemail.c7
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 @@
12000-09-04 Dave Love <fx@gnu.org>
2
3 * movemail.c (index, rindex): Prototype conditionally.
4
12000-09-03 Andrew Innes <andrewi@gnu.org> 52000-09-03 Andrew Innes <andrewi@gnu.org>
2 6
3 * makefile.w32-in: Change to DOS line endings. 7 * 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 ();
143extern int errno; 143extern int errno;
144#endif 144#endif
145char *strerror (); 145char *strerror ();
146extern char *rindex (); 146#ifdef HAVE_INDEX
147extern char *index __P ((const char *, int));
148#endif
149#ifdef HAVE_RINDEX
150extern char *rindex __P((const char *, int));
151#endif
147 152
148void fatal (); 153void fatal ();
149void error (); 154void error ();