diff options
Diffstat (limited to 'src/qmail-mfrules.c')
-rw-r--r-- | src/qmail-mfrules.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/qmail-mfrules.c b/src/qmail-mfrules.c index 7ef097c..1e3c367 100644 --- a/src/qmail-mfrules.c +++ b/src/qmail-mfrules.c @@ -37,23 +37,23 @@ int match = 1; struct cdb_make cdb; -void die_nomem() +static void die_nomem() { logmsg(WHO, 112, FATAL, "out of memory"); } -void die_parse() +static void die_parse() { if (!stralloc_0(&line)) die_nomem(); logmsg(WHO, 100, ERROR, B("unable to parse this line: ", line.s)); } -void die_read() +static void die_read() { logmsg(WHO, 111, ERROR, "unable to read control/mailfromrules"); } -void die_write() +static void die_write() { logmsg(WHO, 111, ERROR, "unable to write to control/mailfromrules.tmp"); } @@ -61,14 +61,14 @@ void die_write() char strnum[FMT_ULONG]; stralloc sanum = {0}; -void getnum(char *buf, int len, unsigned long *u) +static void getnum(char *buf, int len, unsigned long *u) { if (!stralloc_copyb(&sanum, buf, len)) die_nomem(); if (!stralloc_0(&sanum)) die_nomem(); if (sanum.s[scan_ulong(sanum.s, u)]) die_parse(); } -void doaddressdata() +static void doaddressdata() { int i; int left; |