From: Ralph Corderoy Date: Mon, 15 May 2017 12:29:28 +0000 (+0100) Subject: h/mhparse.h: Move mhfree.c's free_content prototype to new header. X-Git-Url: https://diplodocus.org/git/nmh/commitdiff_plain/bf4e14adcab829c23f134253dea686789eb21d6a?hp=28ec221002d755d33c41fa4b5d9673eee0abef9d h/mhparse.h: Move mhfree.c's free_content prototype to new header. It was the only thing of mhfree.c's in h/mhparse.h. --- diff --git a/h/mhparse.h b/h/mhparse.h index 00802d13..67c3e8a9 100644 --- a/h/mhparse.h +++ b/h/mhparse.h @@ -357,7 +357,6 @@ int get_ctinfo (char *, CT, int); int params_external (CT, int); int open7Bit (CT, char **); void close_encoding (CT); -void free_content (CT); char *ct_type_str (int); char *ct_subtype_str (int, int); int ct_str_type (const char *); diff --git a/uip/burst.c b/uip/burst.c index 0b15ebc9..888fb31a 100644 --- a/uip/burst.c +++ b/uip/burst.c @@ -8,6 +8,7 @@ #include #include #include +#include "mhfree.h" #define BURST_SWITCHES \ X("inplace", 0, INPLSW) \ diff --git a/uip/mhbuild.c b/uip/mhbuild.c index fe6eae7e..db5362f8 100644 --- a/uip/mhbuild.c +++ b/uip/mhbuild.c @@ -14,6 +14,7 @@ #include #include #include +#include "mhfree.h" #define MHBUILD_SWITCHES \ X("auto", 0, AUTOSW) \ diff --git a/uip/mhfree.h b/uip/mhfree.h index cd805956..bef05336 100644 --- a/uip/mhfree.h +++ b/uip/mhfree.h @@ -5,6 +5,7 @@ * complete copyright information. */ +void free_content(CT ct); void free_ctinfo(CT); void free_encoding(CT, int); void freects_done(int) NORETURN;