diff lib-src/movemail.c @ 213:78f53ef88e17 r20-4b5

Import from CVS: tag r20-4b5
author cvs
date Mon, 13 Aug 2007 10:06:47 +0200
parents 2d532a89d707
children 11cf20601dec
line wrap: on
line diff
--- a/lib-src/movemail.c	Mon Aug 13 10:05:53 2007 +0200
+++ b/lib-src/movemail.c	Mon Aug 13 10:06:47 2007 +0200
@@ -139,13 +139,13 @@
 static void pfatal_and_delete (char *);
 static char *concat (char *, char *, char *);
 static long *xmalloc (unsigned int);
+#ifdef MAIL_USE_POP
 static int popmail (char *, char *, char *);
-#ifdef MAIL_USE_POP
-static int pop_retr (popserver server, int msgno, int (*action)(), int arg);
-#endif
+static int pop_retr (popserver server, int msgno, int (*action)(), void *arg);
 static int mbx_write (char *, FILE *);
 static int mbx_delimit_begin (FILE *);
 static int mbx_delimit_end (FILE *);
+#endif
 
 /* Nonzero means this is name of a lock file to delete on fatal error.  */
 char *delete_lockname;
@@ -505,7 +505,6 @@
   int mbfi;
   FILE *mbf;
   char *getenv ();
-  int mbx_write ();
   popserver server;
   extern char *strerror ();
 
@@ -606,7 +605,7 @@
 }
 
 static int
-pop_retr (popserver server, int msgno, int (*action)(), int arg)
+pop_retr (popserver server, int msgno, int (*action)(), void *arg)
 {
   char *line;
   int ret;