X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;f=uip%2Fmhlist.c;h=6ef455d1a8567127582939336de85eeb31ff32bf;hb=c70ca7816838825c93fbc54ac9e4a6e2a7bef6d8;hp=112c09840e621e56a43e6cfbc3c71840dcb30a8e;hpb=045101c0a79f43fe566422622f154d5cc0141d8a;p=mmh diff --git a/uip/mhlist.c b/uip/mhlist.c index 112c098..6ef455d 100644 --- a/uip/mhlist.c +++ b/uip/mhlist.c @@ -2,8 +2,6 @@ /* * mhlist.c -- list 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 CHECKSW 0 { "check", 0 }, @@ -68,7 +62,6 @@ static struct swit switches[] = { /* mhparse.c */ -extern int checksw; extern char *tmp; /* directory to place temp files */ /* mhcachesbr.c */ @@ -110,7 +103,7 @@ void list_all_messages (CT *, int, int, int, int); /* mhfree.c */ void free_content (CT); extern CT *cts; -int freects_done (int); +void freects_done (int) NORETURN; /* * static prototypes @@ -373,7 +366,8 @@ do_cache: context_save (); /* save the context file */ } - return done (0); + done (0); + return 1; }