X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/0a032eea07f6d77ac6ea4d5a39c9491c34358058..afaab789:/uip/mhfree.c?ds=sidebyside diff --git a/uip/mhfree.c b/uip/mhfree.c index aa5d9ea2..1bb488d1 100644 --- a/uip/mhfree.c +++ b/uip/mhfree.c @@ -1,5 +1,4 @@ -/* - * mhfree.c -- routines to free the data structures used to +/* mhfree.c -- routines to free the data structures used to * -- represent MIME messages * * This code is Copyright (c) 2002, by the authors of nmh. See the @@ -11,21 +10,16 @@ #include #include #include +#include "../sbr/m_mktemp.h" +#include "mhfree.h" /* The list of top-level contents to display */ CT *cts = NULL; -/* - * prototypes - */ -void free_header (CT); -void free_ctinfo (CT); -void free_encoding (CT, int); -void freects_done (int); - /* * static prototypes */ +static void free_header (CT); static void free_text (CT); static void free_multi (CT); static void free_partial (CT); @@ -125,7 +119,7 @@ free_content (CT ct) * for this content. */ -void +static void free_header (CT ct) { HF hp1, hp2; @@ -280,7 +274,7 @@ free_encoding (CT ct, int toplevel) } -void +void NORETURN freects_done (int status) { CT *ctp;