-#define tdb_check(tdb, check, private) \
- tdb_check_((tdb), typesafe_cb_preargs(enum TDB_ERROR, \
- (check), (private), \
+#define tdb_check(tdb, check, private_data) \
+ tdb_check_((tdb), typesafe_cb_preargs(enum TDB_ERROR, void *, \
+ (check), (private_data), \