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/qmail-showctl.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/qmail-showctl.c') diff --git a/src/qmail-showctl.c b/src/qmail-showctl.c index dd15845..96b4d7e 100644 --- a/src/qmail-showctl.c +++ b/src/qmail-showctl.c @@ -30,7 +30,7 @@ int meok; stralloc line = {0}; char num[FMT_ULONG]; -void safeput(char *buf, unsigned int len) +static void safeput(char *buf, unsigned int len) { char ch; @@ -43,7 +43,7 @@ void safeput(char *buf, unsigned int len) } } -void do_int(char *fn, char *def, char *pre, char *post) +static void do_int(char *fn, char *def, char *pre, char *post) { long i; buffer_puts(buffer_1, "\n"); @@ -68,7 +68,7 @@ void do_int(char *fn, char *def, char *pre, char *post) } } -void do_str(char *fn, int flagme, char *def, char *pre) +static void do_str(char *fn, int flagme, char *def, char *pre) { buffer_puts(buffer_1, "\n"); buffer_puts(buffer_1, fn); @@ -95,7 +95,7 @@ void do_str(char *fn, int flagme, char *def, char *pre) } } -int do_lst(char *fn, char *def, char *pre, char *post) +static int do_lst(char *fn, char *def, char *pre, char *post) { int i; int j; -- cgit v1.2.3