summaryrefslogtreecommitdiff
path: root/src/qmail-showctl.c
diff options
context:
space:
mode:
authorJannis Hoffmann <jannis@fehcom.de>2024-07-08 13:24:39 +0200
committerJannis Hoffmann <jannis@fehcom.de>2024-07-08 13:24:39 +0200
commit973ae30e7c4f7a1afb385dd3d8eeea178f981445 (patch)
tree1a5d8be5b3ff273a141b6144bf3031b1bc3deb2d /src/qmail-showctl.c
parent66404f0bfbd78e635ff6381ca30b25157e0e1a09 (diff)
fix deprecated prototypes
Diffstat (limited to 'src/qmail-showctl.c')
-rw-r--r--src/qmail-showctl.c8
1 files changed, 4 insertions, 4 deletions
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;