X-Git-Url: http://git.marmaro.de/?p=mmh;a=blobdiff_plain;f=uip%2Fali.c;h=8513092c461d37a09d8fdafe54f1b1c3e7d33193;hp=c6003879a8ef68c9772f04147c81b2a2171c6ae9;hb=d8916ff5d389de5ab225cd6f40aeda1b285d0f28;hpb=6c42153ad9362cc676ea66563bf400d7511b3b68 diff --git a/uip/ali.c b/uip/ali.c index c600387..8513092 100644 --- a/uip/ali.c +++ b/uip/ali.c @@ -13,6 +13,7 @@ #include #include #include +#include /* * maximum number of names @@ -50,8 +51,8 @@ extern struct aka *akahead; /* * prototypes */ -void print_aka (char *, int, int); -void print_usr (char *, int, int); +static void print_aka (char *, int, int); +static void print_usr (char *, int, int); int @@ -169,10 +170,11 @@ main (int argc, char **argv) } } - return done (0); + done (0); + return 1; } -void +static void print_aka (char *p, int list, int margin) { char c; @@ -212,7 +214,7 @@ print_aka (char *p, int list, int margin) pos = 1; } -void +static void print_usr (char *s, int list, int norm) { register char *cp, *pp, *vp; @@ -232,8 +234,8 @@ print_usr (char *s, int list, int norm) while ((cp = getname (pp))) { if ((np = getm (cp, NULL, 0, norm, NULL)) == NULL) continue; - if (!strcasecmp (mp->m_host, np->m_host) - && !strcasecmp (mp->m_mbox, np->m_mbox)) { + if (!mh_strcasecmp (mp->m_host, np->m_host) + && !mh_strcasecmp (mp->m_mbox, np->m_mbox)) { vp = vp ? add (ak->ak_name, add (",", vp)) : getcpy (ak->ak_name); mnfree (np);