X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/1691e80890e5d8ba258c51c214a3e91880e1db2b..c065080384e524f3afbae781492464f4661a55df:/uip/mhshow.c diff --git a/uip/mhshow.c b/uip/mhshow.c index ff2bee85..4496590f 100644 --- a/uip/mhshow.c +++ b/uip/mhshow.c @@ -3,6 +3,10 @@ * mhshow.c -- display the contents of MIME messages * * $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 @@ -11,8 +15,8 @@ #include #include #include -#include -#include +#include +#include #include #include #include @@ -60,7 +64,7 @@ static struct swit switches[] = { #define VERSIONSW 14 { "version", 0 }, #define HELPSW 15 - { "help", 4 }, + { "help", 0 }, /* * switches for moreproc/mhlproc @@ -475,8 +479,7 @@ do_cache: context_save (); /* save the context file */ } - done (0); - /* NOTREACHED */ + return done (0); } @@ -495,7 +498,7 @@ pipeser (int i) } -void +int done (int status) { CT *ctp; @@ -505,4 +508,5 @@ done (int status) free_content (*ctp); exit (status); + return 1; /* dead code to satisfy the compiler */ }