Remove RCS keywords, since they no longer work after git migration.
[mmh] / uip / vmh.c
index 8b398e6..908df85 100644 (file)
--- a/uip/vmh.c
+++ b/uip/vmh.c
@@ -2,7 +2,9 @@
 /*
  * vmh.c -- visual front-end to nmh
  *
- * $Id$
+ * This code is Copyright (c) 2002, by the authors of nmh.  See the
+ * COPYRIGHT file in the root directory of the nmh distribution for
+ * complete copyright information.
  */
 
 #include <h/mh.h>
@@ -106,7 +108,7 @@ static struct swit switches[] = {
 #define VERSIONSW             3
     { "version", 0 },
 #define        HELPSW                4
-    { "help", 4 },
+    { "help", 0 },
     { NULL, 0 }
 };
 
@@ -199,7 +201,6 @@ static RETSIGTYPE TSTPser(int);
 
 
                                        /* MISCELLANY */
-extern int errno;
 
 /*
  * static prototypes
@@ -278,7 +279,7 @@ main (int argc, char **argv)
 
     vmh ();
 
-    done (0);
+    return done (0);
 }
 
 
@@ -1432,13 +1433,14 @@ TSTPser (int sig)
 
 /* MISCELLANY */
 
-void
+int
 done (int status)
 {
     TTYoff ();
     pFIN ();
 
     exit (status);
+    return 1;  /* dead code to satisfy the compiler */
 }