diff options
author | Andreas Schwab <schwab@linux-m68k.org> | 2010-07-06 13:11:28 +0200 |
---|---|---|
committer | Andreas Schwab <schwab@linux-m68k.org> | 2010-07-06 13:11:28 +0200 |
commit | e2ad23ef3f72a4d8169648592740143770c2323e (patch) | |
tree | e40f596b74bf183cc21bdae8f55721ba04901c8b /lib-src | |
parent | 69e24e34c43f022dc2c21a4374e043790b27c6ac (diff) | |
download | emacs-e2ad23ef3f72a4d8169648592740143770c2323e.tar.gz |
* movemail.c: Add MAIL_USE_POP around prototypes.
Diffstat (limited to 'lib-src')
-rw-r--r-- | lib-src/ChangeLog | 4 | ||||
-rw-r--r-- | lib-src/movemail.c | 2 |
2 files changed, 6 insertions, 0 deletions
diff --git a/lib-src/ChangeLog b/lib-src/ChangeLog index 8afa8e2b54b..fcdc00993ef 100644 --- a/lib-src/ChangeLog +++ b/lib-src/ChangeLog @@ -1,3 +1,7 @@ +2010-07-06 Andreas Schwab <schwab@linux-m68k.org> + + * movemail.c: Add MAIL_USE_POP around prototypes. + 2010-07-04 Dan Nicolaescu <dann@ics.uci.edu> * fakemail.c (action): Convert function definitions to standard C. diff --git a/lib-src/movemail.c b/lib-src/movemail.c index 733303455b0..ad9f7c76ea0 100644 --- a/lib-src/movemail.c +++ b/lib-src/movemail.c @@ -154,11 +154,13 @@ void pfatal_with_name (char *name); void pfatal_and_delete (char *name); char *concat (char *s1, char *s2, char *s3); long *xmalloc (unsigned int size); +#ifdef MAIL_USE_POP int popmail (char *mailbox, char *outfile, int preserve, char *password, int reverse_order); int pop_retr (popserver server, int msgno, FILE *arg); int mbx_write (char *line, int len, FILE *mbf); int mbx_delimit_begin (FILE *mbf); int mbx_delimit_end (FILE *mbf); +#endif /* Nonzero means this is name of a lock file to delete on fatal error. */ char *delete_lockname; |