From 973ae30e7c4f7a1afb385dd3d8eeea178f981445 Mon Sep 17 00:00:00 2001 From: Jannis Hoffmann Date: Mon, 8 Jul 2024 13:24:39 +0200 Subject: fix deprecated prototypes --- src/forward.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/forward.c') 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; -- cgit v1.2.3