diff options
| author | Dave Love | 2000-09-04 15:26:16 +0000 |
|---|---|---|
| committer | Dave Love | 2000-09-04 15:26:16 +0000 |
| commit | 517699cac6c0f4985ed4c5f4992b6bf6ceccfc25 (patch) | |
| tree | d57ea3801400053edee71b1ea14b07ae16441c44 /lib-src | |
| parent | 7d817b836182273ee77bbd79010676ebb204efe4 (diff) | |
| download | emacs-517699cac6c0f4985ed4c5f4992b6bf6ceccfc25.tar.gz emacs-517699cac6c0f4985ed4c5f4992b6bf6ceccfc25.zip | |
(index, rindex): Prototype conditionally.
Diffstat (limited to 'lib-src')
| -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 @@ | |||
| 1 | 2000-09-04 Dave Love <fx@gnu.org> | ||
| 2 | |||
| 3 | * movemail.c (index, rindex): Prototype conditionally. | ||
| 4 | |||
| 1 | 2000-09-03 Andrew Innes <andrewi@gnu.org> | 5 | 2000-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 (); | |||
| 143 | extern int errno; | 143 | extern int errno; |
| 144 | #endif | 144 | #endif |
| 145 | char *strerror (); | 145 | char *strerror (); |
| 146 | extern char *rindex (); | 146 | #ifdef HAVE_INDEX |
| 147 | extern char *index __P ((const char *, int)); | ||
| 148 | #endif | ||
| 149 | #ifdef HAVE_RINDEX | ||
| 150 | extern char *rindex __P((const char *, int)); | ||
| 151 | #endif | ||
| 147 | 152 | ||
| 148 | void fatal (); | 153 | void fatal (); |
| 149 | void error (); | 154 | void error (); |