X-Git-Url: http://git.marmaro.de/?p=mmh;a=blobdiff_plain;f=uip%2Fvmh.c;h=2c2f6b5c334b9a97f723ca733411acb922277bed;hp=8b398e6053ba0f5232aada9f29292c7ba33b78d3;hb=b28e871ba874a53257b37eed94adfc365ed6ebf2;hpb=1691e80890e5d8ba258c51c214a3e91880e1db2b diff --git a/uip/vmh.c b/uip/vmh.c index 8b398e6..2c2f6b5 100644 --- a/uip/vmh.c +++ b/uip/vmh.c @@ -106,7 +106,7 @@ static struct swit switches[] = { #define VERSIONSW 3 { "version", 0 }, #define HELPSW 4 - { "help", 4 }, + { "help", 0 }, { NULL, 0 } }; @@ -278,7 +278,7 @@ main (int argc, char **argv) vmh (); - done (0); + return done (0); } @@ -1432,13 +1432,14 @@ TSTPser (int sig) /* MISCELLANY */ -void +int done (int status) { TTYoff (); pFIN (); exit (status); + return 1; /* dead code to satisfy the compiler */ }