]> diplodocus.org Git - nmh/commitdiff
Move NPARTS and NTYPES from mhparse.h to mhmisc.h.
authorRalph Corderoy <ralph@inputplus.co.uk>
Mon, 28 Aug 2017 12:37:24 +0000 (13:37 +0100)
committerRalph Corderoy <ralph@inputplus.co.uk>
Mon, 28 Aug 2017 12:39:10 +0000 (13:39 +0100)
It's mhmisc.c that has the global arrays that use them.

h/mhparse.h
uip/mhmisc.h

index 42cab7e..85f5326 100644 (file)
@@ -2,8 +2,6 @@
  *           -- (mhparse.c/mhbuildsbr.c)
  */
 
-#define        NPARTS  50
-#define        NTYPES  20
 #define        NPREFS  20
 
 /*
index 60f532b..84ffeab 100644 (file)
@@ -13,6 +13,9 @@ int make_intermediates(char *);
 void content_error(char *, CT, char *, ...) CHECK_PRINTF(3, 4);
 void flush_errors(void);
 
+#define        NPARTS 50
+#define        NTYPES 20
+
 extern int npart;
 extern int ntype;
 extern char *parts[NPARTS + 1];