X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;f=uip%2Fdp.c;h=4e9c5cb8ba78080b0f72f91afb2a3b00d0ba0516;hb=e7129bf90a1b361e07365002379d8d2874c0f771;hp=0041198a095a1e29740f766ab454b9a8252f162d;hpb=1691e80890e5d8ba258c51c214a3e91880e1db2b;p=mmh diff --git a/uip/dp.c b/uip/dp.c index 0041198..4e9c5cb 100644 --- a/uip/dp.c +++ b/uip/dp.c @@ -2,12 +2,14 @@ /* * dp.c -- parse dates 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 NDATES 100 @@ -26,7 +28,7 @@ static struct swit switches[] = { #define VERSIONSW 3 { "version", 0 }, #define HELPSW 4 - { "help", 4 }, + { "help", 0 }, { NULL, 0 } }; @@ -35,11 +37,6 @@ static struct format *fmt; static int dat[5]; /* - * prototypes - */ -int sc_width (void); /* from termsbr.c */ - -/* * static prototypes */ static int process (char *, int); @@ -133,6 +130,7 @@ main (int argc, char **argv) context_save (); /* save the context file */ done (status); + return 1; }