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/srsforward.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/srsforward.c') diff --git a/src/srsforward.c b/src/srsforward.c index f15a8ad..967a015 100644 --- a/src/srsforward.c +++ b/src/srsforward.c @@ -23,12 +23,12 @@ #define WHO "srsforward" -void die_nomem() +static void die_nomem() { logmsg(WHO, 111, FATAL, "out of memory"); } -void die_control() +static void die_control() { logmsg(WHO, 110, FATAL, "Unable to read control files"); } @@ -56,7 +56,7 @@ static int srserror_str(int code) return -3; } -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