# HG changeset patch # User Andreas Schwab # Date 1278414688 -7200 # Node ID 5833ef1423747ba943c526da283f5481a15b069d # Parent 7347cd00da538d6c6803c4c2f0e9c84bbabe92c3 * movemail.c: Add MAIL_USE_POP around prototypes. diff -r 7347cd00da53 -r 5833ef142374 lib-src/ChangeLog --- a/lib-src/ChangeLog Mon Jul 05 19:22:54 2010 -0700 +++ b/lib-src/ChangeLog Tue Jul 06 13:11:28 2010 +0200 @@ -1,3 +1,7 @@ +2010-07-06 Andreas Schwab + + * movemail.c: Add MAIL_USE_POP around prototypes. + 2010-07-04 Dan Nicolaescu * fakemail.c (action): Convert function definitions to standard C. diff -r 7347cd00da53 -r 5833ef142374 lib-src/movemail.c --- a/lib-src/movemail.c Mon Jul 05 19:22:54 2010 -0700 +++ b/lib-src/movemail.c Tue Jul 06 13:11:28 2010 +0200 @@ -154,11 +154,13 @@ 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;