X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/1691e80890e5d8ba258c51c214a3e91880e1db2b..1e6e0b5cc1bd2d49ffcef4ea7bb1bb6c256d07b7:/uip/wmh.c?ds=inline diff --git a/uip/wmh.c b/uip/wmh.c index fce1f59b..2e46dbb1 100644 --- a/uip/wmh.c +++ b/uip/wmh.c @@ -200,7 +200,7 @@ main (int argc, char **argv) vmh (); - done (0); + return done (0); } @@ -1285,7 +1285,7 @@ SIGser (int sig) } -void +int done (int status) { if (dfd != NOTOK) @@ -1294,6 +1294,7 @@ done (int status) pFIN (); exit (status); + return 1; /* dead code to satisfy the compiler */ }