diff options
author | Jannis Hoffmann <jannis@fehcom.de> | 2024-07-08 13:24:39 +0200 |
---|---|---|
committer | Jannis Hoffmann <jannis@fehcom.de> | 2024-07-08 13:24:39 +0200 |
commit | 973ae30e7c4f7a1afb385dd3d8eeea178f981445 (patch) | |
tree | 1a5d8be5b3ff273a141b6144bf3031b1bc3deb2d /src/forward.c | |
parent | 66404f0bfbd78e635ff6381ca30b25157e0e1a09 (diff) |
fix deprecated prototypes
Diffstat (limited to 'src/forward.c')
-rw-r--r-- | src/forward.c | 5 |
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; |