X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;f=uip%2Fmhn.c;h=6a46ca5da709674a9f957fd2ba25e5705ba05bac;hb=907d56122e31657df15e9bc79460210deedaefd9;hp=69554768c0ea205ef4ecf1163e99b262aef56292;hpb=38615191e71744b066425e0c44412b62dbe49cc2;p=mmh diff --git a/uip/mhn.c b/uip/mhn.c index 6955476..6a46ca5 100644 --- a/uip/mhn.c +++ b/uip/mhn.c @@ -2,8 +2,6 @@ /* * mhn.c -- display, list, cache, or store the contents of MIME messages * - * $Id$ - * * This code is Copyright (c) 2002, by the authors of nmh. See the * COPYRIGHT file in the root directory of the nmh distribution for * complete copyright information. @@ -22,10 +20,6 @@ #include #include -#ifdef HAVE_SYS_WAIT_H -# include -#endif - static struct swit switches[] = { #define AUTOSW 0 { "auto", 0 }, @@ -126,7 +120,6 @@ static struct swit switches[] = { /* mhparse.c */ -extern int checksw; extern char *tmp; /* directory to place temp files */ /* mhcachesbr.c */ @@ -198,12 +191,12 @@ void cache_all_messages (CT *); /* mhfree.c */ void free_content (CT); extern CT *cts; -void freects_done (int); +void freects_done (int) NORETURN; /* * static prototypes */ -static RETSIGTYPE pipeser (int); +static void pipeser (int); int @@ -570,7 +563,7 @@ do_cache: adios (NULL, "out of memory"); ctp = cts; - if ((ct = parse_mime (file))); + if ((ct = parse_mime (file))) *ctp++ = ct; } else { /* @@ -691,7 +684,7 @@ do_cache: } -static RETSIGTYPE +static void pipeser (int i) { if (i == SIGQUIT) {