X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/d1797eb2b2d5f3aa1b653e6a2562bf79c559eeb2..29db9a64a:/uip/mhshow.c?ds=sidebyside diff --git a/uip/mhshow.c b/uip/mhshow.c index ce0d8f6a..07590911 100644 --- a/uip/mhshow.c +++ b/uip/mhshow.c @@ -11,11 +11,15 @@ #include #include #include +#include #include #include #include #include +#include "../sbr/m_maildir.h" +#include "../sbr/m_popen.h" #include "mhfree.h" +#include "mhshowsbr.h" #define MHSHOW_SWITCHES \ X("check", 0, CHECKSW) \ @@ -62,21 +66,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 +145,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);