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/qmail-tcpto.c | |
parent | 66404f0bfbd78e635ff6381ca30b25157e0e1a09 (diff) |
fix deprecated prototypes
Diffstat (limited to 'src/qmail-tcpto.c')
-rw-r--r-- | src/qmail-tcpto.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/qmail-tcpto.c b/src/qmail-tcpto.c index 632a5cd..26a9b88 100644 --- a/src/qmail-tcpto.c +++ b/src/qmail-tcpto.c @@ -24,13 +24,13 @@ #define WHO "qmail-tcpto" -void die(n) int n; +static void die(int n) { buffer_flush(buffer_1); _exit(n); } -void warn(s) char *s; +static void warn(char *s) { char *x; x = error_str(errno); @@ -40,22 +40,22 @@ void warn(s) char *s; buffer_puts(buffer_1, "\n"); } -void die_chdir() +static void die_chdir() { logmsg(WHO, 110, FATAL, "unable to chdir"); } -void die_open() +static void die_open() { logmsg(WHO, 112, FATAL, "unable to open tcpto"); } -void die_lock() +static void die_lock() { logmsg(WHO, 112, FATAL, "unable to lock tcpto"); } -void die_read() +static void die_read() { logmsg(WHO, 112, FATAL, "unable to read tcpto"); } |