X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;f=uip%2Fmhshow.c;h=af42092b14e0e32b5620122e6b8d5a2d7edda03f;hb=b28e871ba874a53257b37eed94adfc365ed6ebf2;hp=ff2bee855fbbf4858b1e8f7e32f65fc26326ba00;hpb=1691e80890e5d8ba258c51c214a3e91880e1db2b;p=mmh diff --git a/uip/mhshow.c b/uip/mhshow.c index ff2bee8..af42092 100644 --- a/uip/mhshow.c +++ b/uip/mhshow.c @@ -60,7 +60,7 @@ static struct swit switches[] = { #define VERSIONSW 14 { "version", 0 }, #define HELPSW 15 - { "help", 4 }, + { "help", 0 }, /* * switches for moreproc/mhlproc @@ -475,8 +475,7 @@ do_cache: context_save (); /* save the context file */ } - done (0); - /* NOTREACHED */ + return done (0); } @@ -495,7 +494,7 @@ pipeser (int i) } -void +int done (int status) { CT *ctp; @@ -505,4 +504,5 @@ done (int status) free_content (*ctp); exit (status); + return 1; /* dead code to satisfy the compiler */ }