From a67d734201445b77f0e8a99a31e4667744b3fe91 Mon Sep 17 00:00:00 2001 From: Martin Mares Date: Wed, 26 Apr 2006 11:47:44 +0200 Subject: [PATCH] Dumpers don't return anything, especially not a void pointer :-) --- lib/conf2.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/conf2.h b/lib/conf2.h index f59bd648..614ba4cd 100644 --- a/lib/conf2.h +++ b/lib/conf2.h @@ -48,7 +48,7 @@ typedef byte *cf_hook(void *ptr); * checks and postprocess the parsed values. Commit-hooks must call * cf_journal_block() too. Caveat! init-hooks for static sections must not * use cf_malloc() but normal xmalloc(). */ -typedef void *cf_dumper1(struct fastbuf *fb, void *ptr); +typedef void cf_dumper1(struct fastbuf *fb, void *ptr); /* Dumps the contents of a variable of a user-defined type. */ struct cf_user_type { -- 2.39.5