X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;f=uip%2Fmhtest.c;h=164d3905442b53c3dd94710ba46d6d75f7b94ca6;hb=d0581ba306a7299113a346f9b4c46ce97bc4cef6;hp=7dc9c07d91d3da6319e7a44ac5f4aa2fab5872a1;hpb=33dc8211a72df0c27fa11220f3b27583cd1c7e49;p=mmh diff --git a/uip/mhtest.c b/uip/mhtest.c index 7dc9c07..164d390 100644 --- a/uip/mhtest.c +++ b/uip/mhtest.c @@ -18,10 +18,6 @@ #include #include -#ifdef HAVE_SYS_WAIT_H -# include -#endif - static struct swit switches[] = { #define CHECKSW 0 { "check", 0 }, @@ -47,10 +43,6 @@ static struct swit switches[] = { { "version", 0 }, #define HELPSW 11 { "help", 0 }, - -/* -** switches for debugging -*/ #define DEBUGSW 12 { "debug", -5 }, { NULL, 0 } @@ -107,7 +99,7 @@ void freects_done(int) NORETURN; ** static prototypes */ static int write_content(CT *, char *); -static RETSIGTYPE pipeser(int); +static void pipeser(int); int @@ -271,7 +263,7 @@ do_cache: adios(NULL, "out of memory"); ctp = cts; - if ((ct = parse_mime(file))); + if ((ct = parse_mime(file))) *ctp++ = ct; } else { /* @@ -378,7 +370,7 @@ write_content(CT *cts, char *outfile) } -static RETSIGTYPE +static void pipeser(int i) { if (i == SIGQUIT) {