X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/2627c4c8b5b4d1129f2cb958de12b758fe7af757..ed4e21fb32d214ed9c45d0bd4eac9d3dd8ee6c9d:/uip/mhfree.c diff --git a/uip/mhfree.c b/uip/mhfree.c index 7664166d..1bb488d1 100644 --- a/uip/mhfree.c +++ b/uip/mhfree.c @@ -1,6 +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 @@ -12,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); @@ -126,7 +119,7 @@ free_content (CT ct) * for this content. */ -void +static void free_header (CT ct) { HF hp1, hp2; @@ -281,7 +274,7 @@ free_encoding (CT ct, int toplevel) } -void +void NORETURN freects_done (int status) { CT *ctp;