X-Git-Url: http://git.marmaro.de/?p=mmh;a=blobdiff_plain;f=uip%2Fmhtest.c;h=90f733739983995d20a886e2fb96dd0e3ce43414;hp=80a0c7b3fdbce4c51c6c4212e2d50140071c880f;hb=8f4c5da8971926f7eccc912f7998c343aef3c33b;hpb=1691e80890e5d8ba258c51c214a3e91880e1db2b diff --git a/uip/mhtest.c b/uip/mhtest.c index 80a0c7b..90f7337 100644 --- a/uip/mhtest.c +++ b/uip/mhtest.c @@ -11,8 +11,8 @@ #include #include #include -#include -#include +#include +#include #include #include #include @@ -52,7 +52,7 @@ static struct swit switches[] = { #define VERSIONSW 10 { "version", 0 }, #define HELPSW 11 - { "help", 4 }, + { "help", 0 }, /* * switches for debugging @@ -386,8 +386,7 @@ do_cache: context_save (); /* save the context file */ } - done (0); - /* NOTREACHED */ + return done (0); } @@ -421,7 +420,7 @@ pipeser (int i) } -void +int done (int status) { CT *ctp; @@ -431,4 +430,5 @@ done (int status) free_content (*ctp); exit (status); + return 1; /* dead code to satisfy the compiler */ }