X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;f=uip%2Fap.c;h=b0934fbcebbb035a1f3c54825fb38b4b0451b816;hb=6f9ad17b37a782a142df2f9c40dae64e4407a64c;hp=2abba4bca32340373ce1d2235692ed5747a99ac8;hpb=8563731b02ce9d750806f6b1769af8b399d964e8;p=mmh diff --git a/uip/ap.c b/uip/ap.c index 2abba4b..b0934fb 100644 --- a/uip/ap.c +++ b/uip/ap.c @@ -2,13 +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 +#include #define NADDRS 100 @@ -31,7 +33,7 @@ static struct swit switches[] = { #define VERSIONSW 5 { "version", 0 }, #define HELPSW 6 - { "help", 4 }, + { "help", 0 }, { NULL, 0 } }; @@ -40,11 +42,6 @@ static struct format *fmt; static int dat[5]; /* - * prototypes - */ -int sc_width (void); /* from termsbr.c */ - -/* * static prototypes */ static int process (char *, int, int); @@ -147,7 +144,8 @@ main (int argc, char **argv) for (addrp = 0; addrs[addrp]; addrp++) status += process (addrs[addrp], width, normalize); - return done (status); + done (status); + return 1; } struct pqpair {