X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;f=uip%2Fmhlist.c;h=45f3e9d4d275b6d5e44c4a27d3c1e713a1482a80;hb=d0581ba306a7299113a346f9b4c46ce97bc4cef6;hp=12480cf745d43a73a978a962267b053269bb48fb;hpb=3cc8ed080f6e741b8df04a3ebe764c659e75cb38;p=mmh diff --git a/uip/mhlist.c b/uip/mhlist.c index 12480cf..45f3e9d 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 }, @@ -54,10 +49,6 @@ static struct swit switches[] = { { "version", 0 }, #define HELPSW 14 { "help", 0 }, - -/* -** switches for debugging -*/ #define DEBUGSW 15 { "debug", -5 }, { NULL, 0 } @@ -111,7 +102,7 @@ void freects_done(int) NORETURN; /* ** static prototypes */ -static RETSIGTYPE pipeser(int); +static void pipeser(int); int @@ -280,7 +271,7 @@ do_cache: adios(NULL, "out of memory"); ctp = cts; - if ((ct = parse_mime(file))); + if ((ct = parse_mime(file))) *ctp++ = ct; } else { /* @@ -372,7 +363,7 @@ do_cache: } -static RETSIGTYPE +static void pipeser(int i) { if (i == SIGQUIT) {