X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/0509728c8a506f287fa3483d8e8ffaf8fb66d41d..3a85a3ad2d55f4d8d998b0e65f02e86937438461:/uip/mhshow.c?ds=sidebyside diff --git a/uip/mhshow.c b/uip/mhshow.c index cf3940b4..b3d3218c 100644 --- a/uip/mhshow.c +++ b/uip/mhshow.c @@ -16,7 +16,9 @@ #include #include #include +#include "mhmisc.h" #include "../sbr/m_maildir.h" +#include "../sbr/m_popen.h" #include "mhfree.h" #include "mhshowsbr.h" @@ -65,13 +67,6 @@ DEFINE_SWITCH_ARRAY(MHSHOW, 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[]; @@ -85,11 +80,6 @@ int verbosw = 0; /* mhparse.c */ CT parse_mime (char *); -/* mhmisc.c */ -int part_ok (CT); -int type_ok (CT, int); -void flush_errors (void); - /* * static prototypes */ @@ -272,8 +262,7 @@ do_cache: if (*cp == '+' || *cp == '@') { if (folder) adios (NULL, "only one folder at a time!"); - else - folder = pluspath (cp); + folder = pluspath (cp); } else app_msgarg(&msgs, cp); }