X-Git-Url: http://git.marmaro.de/?p=mmh;a=blobdiff_plain;f=uip%2Fmhn.c;h=11c0276753d71f55840c5ca166c0bf73ffec3791;hp=70f730b57aa40390c1b3d2185402e7d8a8cec175;hb=8f4c5da8971926f7eccc912f7998c343aef3c33b;hpb=1691e80890e5d8ba258c51c214a3e91880e1db2b diff --git a/uip/mhn.c b/uip/mhn.c index 70f730b..11c0276 100644 --- a/uip/mhn.c +++ b/uip/mhn.c @@ -11,8 +11,8 @@ #include #include #include -#include -#include +#include +#include #include #include #include @@ -88,7 +88,7 @@ static struct swit switches[] = { #define VERSIONSW 28 { "version", 0 }, #define HELPSW 29 - { "help", 4 }, + { "help", 0 }, /* * switches for debugging @@ -708,8 +708,7 @@ do_cache: context_save (); /* save the context file */ } - done (0); - /* NOTREACHED */ + return done (0); } @@ -728,7 +727,7 @@ pipeser (int i) } -void +int done (int status) { CT *ctp; @@ -738,4 +737,5 @@ done (int status) free_content (*ctp); exit (status); + return 1; /* dead code to satisfy the compiler */ }