Mercurial > hg > xemacs-beta
comparison lib-src/movemail.c @ 175:2d532a89d707 r20-3b14
Import from CVS: tag r20-3b14
author | cvs |
---|---|
date | Mon, 13 Aug 2007 09:50:14 +0200 |
parents | 8eaf7971accc |
children | 78f53ef88e17 |
comparison
equal
deleted
inserted
replaced
174:bb3568571b84 | 175:2d532a89d707 |
---|---|
67 #include <string.h> | 67 #include <string.h> |
68 #ifdef MAIL_USE_POP | 68 #ifdef MAIL_USE_POP |
69 #include "pop.h" | 69 #include "pop.h" |
70 #endif | 70 #endif |
71 | 71 |
72 #ifndef HAVE_STRERROR | |
73 static char * strerror (int errnum); | |
74 #endif /* HAVE_STRERROR */ | |
75 | |
72 #ifdef MSDOS | 76 #ifdef MSDOS |
73 #undef access | 77 #undef access |
74 #endif /* MSDOS */ | 78 #endif /* MSDOS */ |
75 | 79 |
76 #ifndef DIRECTORY_SEP | 80 #ifndef DIRECTORY_SEP |
602 } | 606 } |
603 | 607 |
604 static int | 608 static int |
605 pop_retr (popserver server, int msgno, int (*action)(), int arg) | 609 pop_retr (popserver server, int msgno, int (*action)(), int arg) |
606 { | 610 { |
607 extern char *strerror (); | |
608 char *line; | 611 char *line; |
609 int ret; | 612 int ret; |
610 | 613 |
611 if (pop_retrieve_first (server, msgno, &line)) | 614 if (pop_retrieve_first (server, msgno, &line)) |
612 { | 615 { |