]> diplodocus.org Git - nmh/commitdiff
h/mhparse.h: Move mhfree.c's free_content prototype to new header.
authorRalph Corderoy <ralph@inputplus.co.uk>
Mon, 15 May 2017 12:29:28 +0000 (13:29 +0100)
committerRalph Corderoy <ralph@inputplus.co.uk>
Mon, 15 May 2017 12:29:28 +0000 (13:29 +0100)
It was the only thing of mhfree.c's in h/mhparse.h.

h/mhparse.h
uip/burst.c
uip/mhbuild.c
uip/mhfree.h

index 00802d1341390e2412d49a006a61c0ac1c3b9ab8..67c3e8a91edc58a702b4a73de8dd1c63d99309b7 100644 (file)
@@ -357,7 +357,6 @@ int get_ctinfo (char *, CT, int);
 int params_external (CT, int);
 int open7Bit (CT, char **);
 void close_encoding (CT);
 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 *);
 char *ct_type_str (int);
 char *ct_subtype_str (int, int);
 int ct_str_type (const char *);
index 0b15ebc983daa0f04f461ea1d01eab7225e7f6a1..888fb31a2854c1b8cd1f9e434bfb0db56d240300 100644 (file)
@@ -8,6 +8,7 @@
 #include <h/mh.h>
 #include <h/utils.h>
 #include <h/mhparse.h>
 #include <h/mh.h>
 #include <h/utils.h>
 #include <h/mhparse.h>
+#include "mhfree.h"
 
 #define BURST_SWITCHES \
     X("inplace", 0, INPLSW) \
 
 #define BURST_SWITCHES \
     X("inplace", 0, INPLSW) \
index fe6eae7eee918170d776d646002817be882cc72d..db5362f8365a1c69510d5f637d42a76f614ca10e 100644 (file)
@@ -14,6 +14,7 @@
 #include <h/mhparse.h>
 #include <h/mhcachesbr.h>
 #include <h/utils.h>
 #include <h/mhparse.h>
 #include <h/mhcachesbr.h>
 #include <h/utils.h>
+#include "mhfree.h"
 
 #define MHBUILD_SWITCHES \
     X("auto", 0, AUTOSW) \
 
 #define MHBUILD_SWITCHES \
     X("auto", 0, AUTOSW) \
index cd8059566b14d9dff35655861171c881b8bd60d3..bef053365b8f93343d91e1dc71b82ef95a4c9692 100644 (file)
@@ -5,6 +5,7 @@
  * complete copyright information.
  */
 
  * complete copyright information.
  */
 
+void free_content(CT ct);
 void free_ctinfo(CT);
 void free_encoding(CT, int);
 void freects_done(int) NORETURN;
 void free_ctinfo(CT);
 void free_encoding(CT, int);
 void freects_done(int) NORETURN;