summaryrefslogtreecommitdiff
path: root/src/headerbody.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/headerbody.c')
-rw-r--r--src/headerbody.c8
1 files changed, 1 insertions, 7 deletions
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;