]> diplodocus.org Git - nmh/commitdiff
mhmisc.h: Add mhmisc.c's global variables as externs.
authorRalph Corderoy <ralph@inputplus.co.uk>
Mon, 28 Aug 2017 12:32:38 +0000 (13:32 +0100)
committerRalph Corderoy <ralph@inputplus.co.uk>
Mon, 28 Aug 2017 12:39:10 +0000 (13:39 +0100)
Delete the local copies from other users.

uip/mhlist.c
uip/mhmisc.h
uip/mhn.c
uip/mhshow.c
uip/mhstore.c

index 9fc42b0f9d71b7bc7edc3bf8d89837dbe7bdcfa6..11dd59f255e266e9a1f299c4b7ea100fe456a536 100644 (file)
@@ -50,14 +50,6 @@ DEFINE_SWITCH_ENUM(MHLIST);
 DEFINE_SWITCH_ARRAY(MHLIST, switches);
 #undef X
 
 DEFINE_SWITCH_ARRAY(MHLIST, switches);
 #undef X
 
-
-/* mhmisc.c */
-extern int npart;
-extern int ntype;
-extern char *parts[NPARTS + 1];
-extern char *types[NTYPES + 1];
-extern int userrs;
-
 /* mhparse.c */
 extern char *preferred_types[];
 extern  char *preferred_subtypes[];
 /* mhparse.c */
 extern char *preferred_types[];
 extern  char *preferred_subtypes[];
index bdf9baa593ca3ca3d4353ea6aeb5743a5c44c121..60f532b7265e7eab892f0596a1b5c8a39413531c 100644 (file)
@@ -12,3 +12,10 @@ int is_inline(CT) PURE;
 int make_intermediates(char *);
 void content_error(char *, CT, char *, ...) CHECK_PRINTF(3, 4);
 void flush_errors(void);
 int make_intermediates(char *);
 void content_error(char *, CT, char *, ...) CHECK_PRINTF(3, 4);
 void flush_errors(void);
+
+extern int npart;
+extern int ntype;
+extern char *parts[NPARTS + 1];
+extern char *types[NTYPES + 1];
+
+extern int userrs;
index 1283a1ab96981cf60250b193897e0cd6754aeb7f..0223a42f0a21f39d4a394776d10733fac644cbe1 100644 (file)
--- a/uip/mhn.c
+++ b/uip/mhn.c
@@ -76,13 +76,6 @@ DEFINE_SWITCH_ARRAY(MHN, switches);
 #undef X
 
 
 #undef X
 
 
-/* mhmisc.c */
-extern int npart;
-extern int ntype;
-extern char *parts[NPARTS + 1];
-extern char *types[NTYPES + 1];
-extern int userrs;
-
 int debugsw = 0;
 int verbosw = 0;
 
 int debugsw = 0;
 int verbosw = 0;
 
index 5cc3b4355ed3f8bf806571264235a3eb8daed5e9..b3d3218c153dedbddaa438586e7fe7294ea4fc90 100644 (file)
@@ -67,13 +67,6 @@ DEFINE_SWITCH_ARRAY(MHSHOW, switches);
 #undef X
 
 
 #undef X
 
 
-/* mhmisc.c */
-extern int npart;
-extern int ntype;
-extern char *parts[NPARTS + 1];
-extern char *types[NTYPES + 1];
-extern int userrs;
-
 /* mhparse.c */
 extern char *preferred_types[];
 extern  char *preferred_subtypes[];
 /* mhparse.c */
 extern char *preferred_types[];
 extern  char *preferred_subtypes[];
index 850cabe07d52694e3a490669c6b4c3b132c22944..373864051ce134a07cf4d8c9e69af6103e295f14 100644 (file)
@@ -47,13 +47,6 @@ DEFINE_SWITCH_ARRAY(MHSTORE, switches);
 #undef X
 
 
 #undef X
 
 
-/* mhmisc.c */
-extern int npart;
-extern int ntype;
-extern char *parts[NPARTS + 1];
-extern char *types[NTYPES + 1];
-extern int userrs;
-
 /* mhparse.c */
 extern char *preferred_types[];
 extern  char *preferred_subtypes[];
 /* mhparse.c */
 extern char *preferred_types[];
 extern  char *preferred_subtypes[];