]> git.marmaro.de Git - mmh/blobdiff - uip/mhbuild.c
Doug informed me that the way I had restored the "lost" version histories was
[mmh] / uip / mhbuild.c
index bacec1003d26f62ecb697b4d678dfdf9f9b91da6..2450572c6ec4a231b1690e67b694446173478137 100644 (file)
@@ -57,7 +57,7 @@ static struct swit switches[] = {
 #define VERSIONSW              16
     { "version", 0 },
 #define        HELPSW                 17
-    { "help", 4 },
+    { "help", 0 },
 #define        DEBUGSW                18
     { "debug", -5 },
     { NULL, 0 }
@@ -363,12 +363,11 @@ main (int argc, char **argv)
     unlink_outfile = 0;
 
     free_content (ct);
-    done (0);
-    /* NOT REACHED */
+    return done (0);
 }
 
 
-void
+int
 done (int status)
 {
     /*
@@ -381,4 +380,5 @@ done (int status)
        unlink (outfile);
 
     exit (status);
+    return 1;  /* dead code to satisfy the compiler */
 }