projects
/
mmh
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Default templates for 'comp', 'forw', 'dist', 'repl' now include
[mmh]
/
uip
/
wmh.c
diff --git
a/uip/wmh.c
b/uip/wmh.c
index
fce1f59
..
c69363a
100644
(file)
--- a/
uip/wmh.c
+++ b/
uip/wmh.c
@@
-3,6
+3,10
@@
* wmh.c -- window front-end to nmh
*
* $Id$
* wmh.c -- window 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.
*/
/*
*/
/*
@@
-40,7
+44,7
@@
static struct swit switches[] = {
#define VERSIONSW 3
{ "version", 0 },
#define HELPSW 4
#define VERSIONSW 3
{ "version", 0 },
#define HELPSW 4
- { "help", 4 },
+ { "help", 0 },
{ NULL, NULL }
};
/* PEERS */
{ NULL, NULL }
};
/* PEERS */
@@
-200,7
+204,7
@@
main (int argc, char **argv)
vmh ();
vmh ();
- done (0);
+ return done (0);
}
}
@@
-1285,7
+1289,7
@@
SIGser (int sig)
}
}
-void
+int
done (int status)
{
if (dfd != NOTOK)
done (int status)
{
if (dfd != NOTOK)
@@
-1294,6
+1298,7
@@
done (int status)
pFIN ();
exit (status);
pFIN ();
exit (status);
+ return 1; /* dead code to satisfy the compiler */
}
}