From: Martin Mares Date: Wed, 26 Apr 2006 09:47:44 +0000 (+0200) Subject: Dumpers don't return anything, especially not a void pointer :-) X-Git-Tag: holmes-import~645^2~11^2~32 X-Git-Url: http://mj.ucw.cz/gitweb/?a=commitdiff_plain;h=a67d734201445b77f0e8a99a31e4667744b3fe91;p=libucw.git Dumpers don't return anything, especially not a void pointer :-) --- 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 {