X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;f=uip%2Fmhn.c;h=2ce21d37de09120b3c666b535b45b51aa7127793;hb=3865f55b4195bac67932ac3aacbd8f3c53239b62;hp=41eb33abcc76df144dec009020d0e049da53ea14;hpb=045101c0a79f43fe566422622f154d5cc0141d8a;p=mmh diff --git a/uip/mhn.c b/uip/mhn.c index 41eb33a..2ce21d3 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,7 +191,7 @@ void cache_all_messages (CT *); /* mhfree.c */ void free_content (CT); extern CT *cts; -int freects_done (int); +void freects_done (int) NORETURN; /* * static prototypes @@ -686,7 +679,8 @@ do_cache: context_save (); /* save the context file */ } - return done (0); + done (0); + return 1; }