summaryrefslogtreecommitdiff
path: root/src/forward.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/forward.c
parent66404f0bfbd78e635ff6381ca30b25157e0e1a09 (diff)
fix deprecated prototypes
Diffstat (limited to 'src/forward.c')
-rw-r--r--src/forward.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/forward.c b/src/forward.c
index e8c7eb0..83372d7 100644
--- a/src/forward.c
+++ b/src/forward.c
@@ -2,7 +2,6 @@
#include "buffer.h"
#include "env.h"
-#include "exit.h"
#include "fmt.h"
#include "logmsg.h"
#include "sig.h"
@@ -11,14 +10,14 @@
#define WHO "forward"
-void die_nomem()
+static void die_nomem()
{
logmsg(WHO, 111, FATAL, "out of memory");
}
struct qmail qqt;
-ssize_t mywrite(int fd, char *buf, int len)
+static ssize_t mywrite(int fd, char *buf, int len)
{
qmail_put(&qqt, buf, len);
return len;