X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/0509728c8a506f287fa3483d8e8ffaf8fb66d41d..6f9d27d45bd1ba8299ed15d53cdb76a365d641c5:/uip/mhstore.c diff --git a/uip/mhstore.c b/uip/mhstore.c index 265b203f..1ca21494 100644 --- a/uip/mhstore.c +++ b/uip/mhstore.c @@ -15,6 +15,7 @@ #include #include #include +#include "mhmisc.h" #include "../sbr/m_maildir.h" #include "mhfree.h" @@ -46,28 +47,10 @@ DEFINE_SWITCH_ARRAY(MHSTORE, 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[]; -extern int npreferred; - #define quitser pipeser /* mhparse.c */ int debugsw = 0; -CT parse_mime (char *); - -/* mhmisc.c */ -int part_ok (CT); -int type_ok (CT, int); -void flush_errors (void); /* * static prototypes @@ -214,8 +197,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); }