diff options
Diffstat (limited to 'src/sendmail.c')
-rw-r--r-- | src/sendmail.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/sendmail.c b/src/sendmail.c index 84385d9..1a9e858 100644 --- a/src/sendmail.c +++ b/src/sendmail.c @@ -16,19 +16,19 @@ #define WHO "sendmail" -void nomem() +static void nomem() { logmsg(WHO, 111, FATAL, "out of memory\n"); } -void die_usage() +static void die_usage() { logmsg(WHO, 100, USAGE, "sendmail [ -t ] [ -fsender ] [ -Fname ] [ -bp ] [ -bs ] [ arg ... ]\n"); } char *smtpdarg[] = {"bin/qmail-smtpd", 0}; -void smtpd() +static void smtpd() { if (!env_get("PROTO")) { if (!env_puts("RELAYCLIENT=")) nomem(); @@ -48,13 +48,13 @@ void smtpd() char *qreadarg[] = {"bin/qmail-qread", 0}; -void mailq() +static void mailq() { execv(*qreadarg, qreadarg); logmsg(WHO, 111, FATAL, "unable to run qmail-qread\n"); } -void do_sender(const char *s) +static void do_sender(const char *s) { char *x; int n; |