summaryrefslogtreecommitdiff
path: root/src/sendmail.c
diff options
context:
space:
mode:
authorJannis Hoffmann <jannis@fehcom.de>2024-07-08 13:24:39 +0200
committerJannis Hoffmann <jannis@fehcom.de>2024-07-08 13:24:39 +0200
commit973ae30e7c4f7a1afb385dd3d8eeea178f981445 (patch)
tree1a5d8be5b3ff273a141b6144bf3031b1bc3deb2d /src/sendmail.c
parent66404f0bfbd78e635ff6381ca30b25157e0e1a09 (diff)
fix deprecated prototypes
Diffstat (limited to 'src/sendmail.c')
-rw-r--r--src/sendmail.c10
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;