X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/d1797eb2b2d5f3aa1b653e6a2562bf79c559eeb2..3f1f199234e06fdbd18c10860f19bdd1706a0f76:/uip/mhshow.c diff --git a/uip/mhshow.c b/uip/mhshow.c index ce0d8f6a..16079dcd 100644 --- a/uip/mhshow.c +++ b/uip/mhshow.c @@ -11,11 +11,13 @@ #include #include #include +#include #include #include #include #include #include "mhfree.h" +#include "mhshowsbr.h" #define MHSHOW_SWITCHES \ X("check", 0, CHECKSW) \ @@ -62,21 +64,6 @@ DEFINE_SWITCH_ARRAY(MHSHOW, switches); #undef X -/* mhcachesbr.c */ -extern int rcachesw; -extern int wcachesw; -extern char *cache_public; -extern char *cache_private; - -/* mhshowsbr.c */ -extern char *progsw; -extern int nomore; /* flags for moreproc/header display */ -extern char *formsw; -extern char *folder; -extern char *headerform; -extern char *markerform; -extern int headersw; - /* mhmisc.c */ extern int npart; extern int ntype; @@ -156,9 +143,9 @@ main (int argc, char **argv) do_cache: if (!(cp = *argp++) || *cp == '-') adios (NULL, "missing argument to %s", argp[-2]); - switch (*icachesw = smatch (cp, caches)) { + switch (*icachesw = smatch (cp, cache_policy)) { case AMBIGSW: - ambigsw (cp, caches); + ambigsw (cp, cache_policy); done (1); case UNKWNSW: adios (NULL, "%s unknown", cp);