]> mj.ucw.cz Git - libucw.git/commitdiff
Dumpers don't return anything, especially not a void pointer :-)
authorMartin Mares <mj@ucw.cz>
Wed, 26 Apr 2006 09:47:44 +0000 (11:47 +0200)
committerMartin Mares <mj@ucw.cz>
Wed, 26 Apr 2006 09:47:44 +0000 (11:47 +0200)
lib/conf2.h

index f59bd648cfedb950ccdbc081a1df14cd663d21d5..614ba4cd8ee6202d9fcb93e5df688a8f5493cdb6 100644 (file)
@@ -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 {