X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/d2d531f4cd2b0f5c48c16f6b4ec101df6bd00eb1..92c3b05ef3e582d64b3cecfc261fdd66ef13a4ef:/uip/mhlistsbr.c diff --git a/uip/mhlistsbr.c b/uip/mhlistsbr.c index 48a5a794..d58d43f9 100644 --- a/uip/mhlistsbr.c +++ b/uip/mhlistsbr.c @@ -13,11 +13,7 @@ #include #include #include - -/* mhmisc.c */ -int part_ok (CT); -int type_ok (CT, int); -void flush_errors (void); +#include "mhmisc.h" /* * static prototypes @@ -269,9 +265,8 @@ list_debug (CT ct) get_param_value(pm, '?')); /* print internal flags for type/subtype */ - fprintf (stderr, " type %#x subtype %#x params 0x%x\n", - ct->c_type, ct->c_subtype, - (unsigned int)(unsigned long) ct->c_ctparams); + fprintf(stderr, " type %#x subtype %#x params %p\n", + ct->c_type, ct->c_subtype, (void *)ct->c_ctparams); fprintf (stderr, " showproc \"%s\"\n", FENDNULL(ct->c_showproc)); fprintf (stderr, " termproc \"%s\"\n", FENDNULL(ct->c_termproc)); @@ -282,8 +277,8 @@ list_debug (CT ct) fprintf (stderr, " %s:%s", ENCODING_FIELD, ct->c_celine); /* print internal flags for transfer encoding */ - fprintf (stderr, " transfer encoding %#x params 0x%x\n", - ct->c_encoding, (unsigned int)(unsigned long) &ct->c_cefile); + fprintf(stderr, " transfer encoding %#x params %p\n", + ct->c_encoding, (void *)&ct->c_cefile); /* print Content-ID */ if (ct->c_id)