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/qbiff.c | |
parent | 66404f0bfbd78e635ff6381ca30b25157e0e1a09 (diff) |
fix deprecated prototypes
Diffstat (limited to 'src/qbiff.c')
-rw-r--r-- | src/qbiff.c | 8 |
1 files changed, 4 insertions, 4 deletions
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() { |