X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;f=uip%2Fmhlist.c;h=856bfc52002c718a7aae471e12cbb79ef2f4ae64;hb=35dc2ac6e48a15b966865ec9d69326a6b2a281dd;hp=d5f290823540ebd5116f8f252a3b0c5df5b07a4c;hpb=1691e80890e5d8ba258c51c214a3e91880e1db2b;p=mmh diff --git a/uip/mhlist.c b/uip/mhlist.c index d5f2908..856bfc5 100644 --- a/uip/mhlist.c +++ b/uip/mhlist.c @@ -11,8 +11,8 @@ #include #include #include -#include -#include +#include +#include #include #include #include @@ -58,7 +58,7 @@ static struct swit switches[] = { #define VERSIONSW 13 { "version", 0 }, #define HELPSW 14 - { "help", 4 }, + { "help", 0 }, /* * switches for debugging @@ -395,8 +395,7 @@ do_cache: context_save (); /* save the context file */ } - done (0); - /* NOTREACHED */ + return done (0); } @@ -415,7 +414,7 @@ pipeser (int i) } -void +int done (int status) { CT *ctp; @@ -425,4 +424,5 @@ done (int status) free_content (*ctp); exit (status); + return 1; /* dead code to satisfy the compiler */ }