X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/1691e80890e5d8ba258c51c214a3e91880e1db2b..2b63c01aa93210f7c6b812c135173812793c7176:/uip/ap.c diff --git a/uip/ap.c b/uip/ap.c index 7e16b926..b0934fbc 100644 --- a/uip/ap.c +++ b/uip/ap.c @@ -2,12 +2,15 @@ /* * ap.c -- parse addresses 822-style * - * $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 #include #include +#include #define NADDRS 100 @@ -30,7 +33,7 @@ static struct swit switches[] = { #define VERSIONSW 5 { "version", 0 }, #define HELPSW 6 - { "help", 4 }, + { "help", 0 }, { NULL, 0 } }; @@ -38,11 +41,6 @@ static struct format *fmt; static int dat[5]; -/* - * prototypes - */ -int sc_width (void); /* from termsbr.c */ - /* * static prototypes */ @@ -147,6 +145,7 @@ main (int argc, char **argv) status += process (addrs[addrp], width, normalize); done (status); + return 1; } struct pqpair {