tdb: don't use 'private' in headers.
authorRusty Russell <rusty@rustcorp.com.au>
Wed, 24 Aug 2011 03:22:57 +0000 (12:52 +0930)
committerRusty Russell <rusty@rustcorp.com.au>
Wed, 24 Aug 2011 03:22:57 +0000 (12:52 +0930)
As per the SAMBA version.

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);