X-Git-Url: http://git.marmaro.de/?p=mmh;a=blobdiff_plain;f=uip%2Fmhshow.c;h=6d91e596ce9640a28bf3f6d8aae0cbc9a98d5704;hp=a1fff551b36c7fa1f4b5261219a5dfc06957de74;hb=0c648c7c1509760370d4c4267a45a5a305885e7f;hpb=5b9d883db0318ed2b84bb82dee880d7381f99188 diff --git a/uip/mhshow.c b/uip/mhshow.c index a1fff55..6d91e59 100644 --- a/uip/mhshow.c +++ b/uip/mhshow.c @@ -18,10 +18,6 @@ #include #include -#ifdef HAVE_SYS_WAIT_H -# include -#endif - static struct swit switches[] = { #define CHECKSW 0 { "check", 0 }, @@ -52,16 +48,9 @@ static struct swit switches[] = { #define HELPSW 13 { "help", 0 }, /* -** switches for moreproc/mhlproc -*/ -#define PROGSW 14 - { "moreproc program", -4 }, -#define WIDTHSW 15 - { "width columns", -4 }, -/* ** switches for debugging */ -#define DEBUGSW 16 +#define DEBUGSW 14 { "debug", -5 }, { NULL, 0 } }; @@ -78,7 +67,6 @@ extern char *cache_private; /* mhshowsbr.c */ extern int serialsw; -extern char *progsw; extern int nolist; extern char *formsw; @@ -230,21 +218,6 @@ do_cache: formsw = getcpy(etcpath(cp)); continue; - /* - ** Switches for moreproc/mhlproc - */ - case PROGSW: - if (!(progsw = *argp++) || *progsw == '-') - adios(NULL, "missing argument to %s", - argp[-2]); - continue; - - case WIDTHSW: - if (!(cp = *argp++) || *cp == '-') - adios(NULL, "missing argument to %s", - argp[-2]); - continue; - case VERBSW: verbosw = 1; continue;