X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/1691e80890e5d8ba258c51c214a3e91880e1db2b..ca7903e5fcabe1d7dc9f51d08dfdb82d61b3d5bf:/uip/fmtdump.c diff --git a/uip/fmtdump.c b/uip/fmtdump.c index 89e70ef6..baab4758 100644 --- a/uip/fmtdump.c +++ b/uip/fmtdump.c @@ -18,13 +18,13 @@ static struct swit switches[] = { #define VERSIONSW 2 { "version", 0 }, #define HELPSW 3 - { "help", 4 }, + { "help", 0 }, { NULL, 0 } }; /* for assignlabel */ static struct format *lvec[128]; -static lused = 0; +static int lused = 0; /* * static prototypes @@ -101,7 +101,7 @@ main (int argc, char **argv) ncomps = fmt_compile(nfs, &fmt); fmt_dump(fmt); - done(0); + return done(0); } static void