X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/1691e80890e5d8ba258c51c214a3e91880e1db2b..e66e25ec491d0fb3df708000d8494b4d598f0263:/uip/mhshow.c diff --git a/uip/mhshow.c b/uip/mhshow.c index ff2bee85..af42092b 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 */ }