X-Git-Url: http://git.marmaro.de/?p=mmh;a=blobdiff_plain;f=uip%2Fmhparam.c;h=5cf7881c2f6ec3ce7cd7752bed02cddbe1828af8;hp=5bbd9fcdc7a0eecbfc145198f3cb227bb9bb073e;hb=5b792c4424571f05bc2008e3109797d18d7d00d1;hpb=240013872c392fe644bd4f79382d9f5314b4ea60 diff --git a/uip/mhparam.c b/uip/mhparam.c index 5bbd9fc..5cf7881 100644 --- a/uip/mhparam.c +++ b/uip/mhparam.c @@ -12,7 +12,6 @@ #include extern char *mhlibdir; -extern char *mhetcdir; static struct swit switches[] = { #define COMPSW 0 @@ -40,19 +39,15 @@ static struct proc procs [] = { { "mh-sequences", &mh_seq }, { "buildmimeproc", &buildmimeproc }, { "editor", &defaulteditor }, - { "faceproc", &faceproc }, { "fileproc", &fileproc }, { "foldprot", &foldprot }, { "incproc", &incproc }, - { "installproc", &installproc }, { "lproc", &lproc }, { "mailproc", &mailproc }, { "mhlproc", &mhlproc }, { "moreproc", &moreproc }, { "msgprot", &msgprot }, - { "packproc", &packproc }, { "postproc", &postproc }, - { "rmfproc", &rmfproc }, { "rmmproc", &rmmproc }, { "sendmail", &sendmail }, { "sendproc", &sendproc }, @@ -95,34 +90,34 @@ main(int argc, char **argv) while ((cp = *argp++)) { if (*cp == '-') { switch (smatch(++cp, switches)) { - case AMBIGSW: - ambigsw(cp, switches); - done(1); - case UNKWNSW: - adios(NULL, "-%s unknown", cp); - - case HELPSW: - snprintf(buf, sizeof(buf), "%s [profile-components] [switches]", invo_name); - print_help(buf, switches, 1); - done(1); - case VERSIONSW: - print_version(invo_name); - done(1); - - case COMPSW: - components = 1; - break; - case NCOMPSW: - components = 0; - break; - - case ALLSW: - all = 1; - break; - - case DEBUGSW: - debug = 1; - break; + case AMBIGSW: + ambigsw(cp, switches); + done(1); + case UNKWNSW: + adios(NULL, "-%s unknown", cp); + + case HELPSW: + snprintf(buf, sizeof(buf), "%s [profile-components] [switches]", invo_name); + print_help(buf, switches, 1); + done(1); + case VERSIONSW: + print_version(invo_name); + done(1); + + case COMPSW: + components = 1; + break; + case NCOMPSW: + components = 0; + break; + + case ALLSW: + all = 1; + break; + + case DEBUGSW: + debug = 1; + break; } } else { comps[compp++] = cp;