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/srsreverse.c | |
parent | 66404f0bfbd78e635ff6381ca30b25157e0e1a09 (diff) |
fix deprecated prototypes
Diffstat (limited to 'src/srsreverse.c')
-rw-r--r-- | src/srsreverse.c | 6 |
1 files changed, 3 insertions, 3 deletions
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; |