#include <h/addrsbr.h>
#include <h/aliasbr.h>
#include <h/mts.h>
+#include <h/utils.h>
/*
* maximum number of names
/*
* 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
}
}
- return done (0);
+ done (0);
+ return 1;
}
-void
+static void
print_aka (char *p, int list, int margin)
{
char c;
pos = 1;
}
-void
+static void
print_usr (char *s, int list, int norm)
{
register char *cp, *pp, *vp;
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);