X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/1691e80890e5d8ba258c51c214a3e91880e1db2b..173c34078c1d520926a8dabeeec01d58d6c8615f:/uip/packf.c diff --git a/uip/packf.c b/uip/packf.c index ec2f975a..42e66944 100644 --- a/uip/packf.c +++ b/uip/packf.c @@ -27,7 +27,7 @@ static struct swit switches[] = { #define VERSIONSW 3 { "version", 0 }, #define HELPSW 4 - { "help", 4 }, + { "help", 0 }, { NULL, 0 } }; @@ -197,12 +197,13 @@ main (int argc, char **argv) seq_save (mp); context_save (); /* save the context file */ folder_free (mp); /* free folder/message structure */ - done (0); + return done (0); } -void +int done (int status) { mbx_close (file, md); exit (status); + return 1; /* dead code to satisfy the compiler */ }