From bf4e14adcab829c23f134253dea686789eb21d6a Mon Sep 17 00:00:00 2001 From: Ralph Corderoy Date: Mon, 15 May 2017 13:29:28 +0100 Subject: [PATCH 1/1] 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. --- h/mhparse.h | 1 - uip/burst.c | 1 + uip/mhbuild.c | 1 + uip/mhfree.h | 1 + 4 files changed, 3 insertions(+), 1 deletion(-) 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; -- 2.48.1