X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/1691e80890e5d8ba258c51c214a3e91880e1db2b..7d5df1b80b43bfe60de33b0b62c992eea1d8d531:/uip/mhshow.c diff --git a/uip/mhshow.c b/uip/mhshow.c index ff2bee85..a50292e9 100644 --- a/uip/mhshow.c +++ b/uip/mhshow.c @@ -12,7 +12,7 @@ #include #include #include -#include +#include #include #include #include @@ -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 */ }