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/qbiff.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/qbiff.c') diff --git a/src/qbiff.c b/src/qbiff.c index 25d1ae5..36dce84 100644 --- a/src/qbiff.c +++ b/src/qbiff.c @@ -52,18 +52,18 @@ stralloc woof = {0}; stralloc tofrom = {0}; stralloc text = {0}; -void doit(char *s, int n) +static void doit(char *s, int n) { if (!stralloc_catb(&text, s, n)) _exit(0); if (text.len > 78) text.len = 78; } -void dobody(stralloc *h) +static void dobody(stralloc *h) { doit(h->s, h->len); } -void doheader(stralloc *h) +static void doheader(stralloc *h) { int i; @@ -73,7 +73,7 @@ void doheader(stralloc *h) } } -void finishheader() {} +static void finishheader() {} int main() { -- cgit v1.2.3