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/srsreverse.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/srsreverse.c') diff --git a/src/srsreverse.c b/src/srsreverse.c index bee168a..1f28098 100644 --- a/src/srsreverse.c +++ b/src/srsreverse.c @@ -25,12 +25,12 @@ #define WHO "srsreverse" -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"); } @@ -61,7 +61,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