/*
* ali.c -- list nmh mail aliases
*
- * $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.
/*
* 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);