X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;f=uip%2Fmhlsbr.c;h=e961b9b0e0f6058c765c4f72d6334d9b7320e38c;hb=bc7839e29d6a4906bd0b8909fd12bb01933b143c;hp=a44413cd1b4496b3d71b9c92f551467d746c52d1;hpb=aaf31d46368bcf63f7ae4b0019ef09d098f98491;p=mmh diff --git a/uip/mhlsbr.c b/uip/mhlsbr.c index a44413c..e961b9b 100644 --- a/uip/mhlsbr.c +++ b/uip/mhlsbr.c @@ -16,6 +16,8 @@ #include #include #include +#include +#include /* * MAJOR BUG: @@ -288,16 +290,6 @@ static void mhldone (int); static void m_popen (char *); static void filterbody (struct mcomp *, char *, int, int, FILE *); -int mhl (int, char **); -int mhlsbr (int, char **, FILE *(*)()); -void m_pclose (void); - -void clear_screen (void); /* from termsbr.c */ -int SOprintf (char *, ...); /* from termsbr.c */ -int sc_width (void); /* from termsbr.c */ -int sc_length (void); /* from termsbr.c */ -int sc_hardcopy (void); /* from termsbr.c */ - int mhl (int argc, char **argv) @@ -482,7 +474,7 @@ mhl (int argc, char **argv) printf ("%s", buf); } else - printf ("\n------- End of Forwarded Message%s\n\n", + printf ("\n------- End of Forwarded Message%s\n", vecp > 1 ? "s" : ""); } @@ -1094,7 +1086,7 @@ mcomp_format (struct mcomp *c1, struct mcomp *c2) if ((c1->c_flags & FACEDFLT) && c2->c_face == NULL) { char *h, *o; if ((h = mp->m_host) == NULL) - h = LocalName (); + h = LocalName (0); if ((o = OfficialName (h))) h = o; c2->c_face = concat ("address ", h, " ", mp->m_mbox, @@ -1501,7 +1493,7 @@ face_format (struct mcomp *c1) if ((mp = getm (cp, NULL, 0, AD_NAME, NULL))) { char *h, *o; if ((h = mp->m_host) == NULL) - h = LocalName (); + h = LocalName (0); if ((o = OfficialName (h))) h = o; c1->c_face = concat ("address ", h, " ", mp->m_mbox, NULL);