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/printforward.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/printforward.c') diff --git a/src/printforward.c b/src/printforward.c index ae5d26c..130bb03 100644 --- a/src/printforward.c +++ b/src/printforward.c @@ -7,17 +7,17 @@ #define WHO "printmaillist" -void badformat() +static void badformat() { logmsg(WHO, 100, FATAL, "bad database format"); } -void nomem() +static void nomem() { logmsg(WHO, 111, FATAL, "out of memory"); } -void getch(char *ch) +static void getch(char *ch) { int r; r = buffer_get(buffer_0small, ch, 1); @@ -25,17 +25,17 @@ void getch(char *ch) if (r == 0) badformat(); } -void out(char *ch) +static void out(char *ch) { if (buffer_put(buffer_1small, ch, 1) == -1) logmsg(WHO, 111, FATAL, "unable to write output"); } -void printbuf(char *buf) +static void printbuf(char *buf) { while (*buf) out(buf++); } -void printsafe(char *buf, int len) +static void printsafe(char *buf, int len) { char ch; -- cgit v1.2.3