container_of: don't put member_ptr in container_off.
[ccan] / ccan / tdb / tdb.h
index b44daa3eb00f78f6ab12f9a1185c225634ef0cd3..6fd407a970390fdccc46b494a774900b84966369 100644 (file)
@@ -141,8 +141,8 @@ void tdb_enable_seqnum(struct tdb_context *tdb);
 void tdb_increment_seqnum_nonblock(struct tdb_context *tdb);
 unsigned int tdb_jenkins_hash(TDB_DATA *key);
 int tdb_check(struct tdb_context *tdb,
-             int (*check)(TDB_DATA key, TDB_DATA data, void *private),
-             void *private);
+             int (*check)(TDB_DATA key, TDB_DATA data, void *private_data),
+             void *private_data);
 
 /* Low level locking functions: use with care */
 int tdb_chainlock(struct tdb_context *tdb, TDB_DATA key);