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/headerbody.c | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'src/headerbody.c') diff --git a/src/headerbody.c b/src/headerbody.c index 58458cf..460b1a0 100644 --- a/src/headerbody.c +++ b/src/headerbody.c @@ -1,8 +1,6 @@ #include "headerbody.h" -#include "buffer.h" #include "getln.h" -#include "stralloc.h" #include "hfield.h" @@ -20,11 +18,7 @@ static int getsa(buffer *b, stralloc *sa, int *match) static stralloc line = {0}; static stralloc nextline = {0}; -int headerbody(b, dohf, hdone, dobl) -buffer *b; -void (*dohf)(); -void (*hdone)(); -void (*dobl)(); +int headerbody(buffer *b, void (*dohf)(stralloc *), void (*hdone)(void), void (*dobl)(stralloc *)) { int match; int flaglineok; -- cgit v1.2.3