X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;f=uip%2Ffmtdump.c;h=cc0bc70402a8ecaf0283ddf189c87f7940d47a64;hb=78c6358d8c8c1ee74bf65c672d958e4eae17ee37;hp=89e70ef666bc679f404fee0e20d3644013de63ef;hpb=1691e80890e5d8ba258c51c214a3e91880e1db2b;p=mmh diff --git a/uip/fmtdump.c b/uip/fmtdump.c index 89e70ef..cc0bc70 100644 --- a/uip/fmtdump.c +++ b/uip/fmtdump.c @@ -3,6 +3,10 @@ * fmtdump.c -- compile format file and dump out instructions * * $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 @@ -18,13 +22,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 +105,7 @@ main (int argc, char **argv) ncomps = fmt_compile(nfs, &fmt); fmt_dump(fmt); - done(0); + return done(0); } static void