]> 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 42cab7e4f624c4e02bb32438ebd2e0caa6db0206..85f532673b9a8a0950041f64a879ef96c335a35d 100644 (file)
@@ -2,8 +2,6 @@
  *           -- (mhparse.c/mhbuildsbr.c)
  */
 
-#define        NPARTS  50
-#define        NTYPES  20
 #define        NPREFS  20
 
 /*
index 60f532b7265e7eab892f0596a1b5c8a39413531c..84ffeabe827c49cd62b318bfb6715e0ce71adde8 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];