X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;ds=sidebyside;f=uip%2Fmhshow.c;h=b43d5a81915728dc5efeb00b5c4fde086cf58f0f;hb=a0a7003193b14d2965fdeb6e07cd20605d179e1f;hp=bbd99eaaaff13891acdd15132828863049f22754;hpb=0c4214ea2aec6497d0d67b436bbee9bc1d225f1e;p=mmh diff --git a/uip/mhshow.c b/uip/mhshow.c index bbd99ea..b43d5a8 100644 --- a/uip/mhshow.c +++ b/uip/mhshow.c @@ -18,10 +18,6 @@ #include #include -#ifdef HAVE_SYS_WAIT_H -# include -#endif - static struct swit switches[] = { #define CHECKSW 0 { "check", 0 }, @@ -51,9 +47,6 @@ static struct swit switches[] = { { "version", 0 }, #define HELPSW 13 { "help", 0 }, -/* -** switches for debugging -*/ #define DEBUGSW 14 { "debug", -5 }, { NULL, 0 } @@ -106,7 +99,7 @@ void freects_done(int) NORETURN; /* ** static prototypes */ -static RETSIGTYPE pipeser(int); +static void pipeser(int); int @@ -303,7 +296,7 @@ do_cache: adios(NULL, "out of memory"); ctp = cts; - if ((ct = parse_mime(file))); + if ((ct = parse_mime(file))) *ctp++ = ct; } else { /* @@ -409,7 +402,7 @@ do_cache: } -static RETSIGTYPE +static void pipeser(int i) { if (i == SIGQUIT) {