X-Git-Url: http://git.marmaro.de/?p=mmh;a=blobdiff_plain;f=uip%2Fmhlist.c;h=3104e6f8f7c49e1390bfc8e7e8187ee15b9efa5c;hp=c12a6b98c9569ccecc291a32df01e24a32011e59;hb=fc71710f8695ea07d852284286b058ecb3955317;hpb=682962d94b21e120c78a52a8bdcb6aa994330a14 diff --git a/uip/mhlist.c b/uip/mhlist.c index c12a6b9..3104e6f 100644 --- a/uip/mhlist.c +++ b/uip/mhlist.c @@ -12,17 +12,12 @@ #include #include #include -#include #include #include #include #include #include -#ifdef HAVE_SYS_WAIT_H -# include -#endif - static struct swit switches[] = { #define CHECKSW 0 { "check", 0 }, @@ -111,7 +106,7 @@ void freects_done(int) NORETURN; /* ** static prototypes */ -static RETSIGTYPE pipeser(int); +static void pipeser(int); int @@ -280,14 +275,14 @@ do_cache: adios(NULL, "out of memory"); ctp = cts; - if ((ct = parse_mime(file))); + if ((ct = parse_mime(file))) *ctp++ = ct; } else { /* ** message(s) are coming from a folder */ if (!msgs.size) - app_msgarg(&msgs, "cur"); + app_msgarg(&msgs, seq_cur); if (!folder) folder = getcurfol(); maildir = toabsdir(folder); @@ -372,7 +367,7 @@ do_cache: } -static RETSIGTYPE +static void pipeser(int i) { if (i == SIGQUIT) {