X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;f=uip%2Fmhoutsbr.c;h=2ebdc1ff296a65f5957f7b143064411a86d4bf44;hb=1ae9fa8a84998e44e0234543162e257815d7e972;hp=6d2914ae4f766051458184699e76ee123ed07109;hpb=1691e80890e5d8ba258c51c214a3e91880e1db2b;p=mmh diff --git a/uip/mhoutsbr.c b/uip/mhoutsbr.c index 6d2914a..2ebdc1f 100644 --- a/uip/mhoutsbr.c +++ b/uip/mhoutsbr.c @@ -4,6 +4,10 @@ * -- given a Content structure * * $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 @@ -12,8 +16,8 @@ #include #include #include -#include -#include +#include +#include #include #include @@ -22,7 +26,6 @@ #endif -extern int errno; extern int ebcdicsw; static char ebcdicsafe[0x100] = { @@ -73,7 +76,7 @@ int writeBase64aux (FILE *, FILE *); * static prototypes */ static int output_content (CT, FILE *); -static int output_headers (CT, FILE *); +static void output_headers (CT, FILE *); static int writeExternalBody (CT, FILE *); static int write8Bit (CT, FILE *); static int writeQuoted (CT, FILE *); @@ -219,7 +222,7 @@ output_content (CT ct, FILE *out) * Output all the header fields for a content */ -static int +static void output_headers (CT ct, FILE *out) { HF hp; @@ -260,7 +263,7 @@ writeExternalBody (CT ct, FILE *out) case 'N': for (ap = ci2->ci_attrs, ep = ci2->ci_values; *ap; ap++, ep++) - if (!strcasecmp (*ap, "name")) { + if (!mh_strcasecmp (*ap, "name")) { fprintf (out, "%s", *ep); break; }