diff options
author | Rusty Russell <rusty@rustcorp.com.au> | 2011-09-14 07:25:13 +0930 |
---|---|---|
committer | Rusty Russell <rusty@rustcorp.com.au> | 2011-09-14 07:25:13 +0930 |
commit | e9fe56cdf3285295642db09b70b673d865551b4a (patch) | |
tree | bc00886b2db21d69584acab4056d0be0ff8940a5 /lib/tdb2/test/run-tdb1-incompatible.c | |
parent | 9660546a18cc9af508e6e594349d869bdcefafb2 (diff) | |
download | samba-e9fe56cdf3285295642db09b70b673d865551b4a.tar.gz samba-e9fe56cdf3285295642db09b70b673d865551b4a.tar.bz2 samba-e9fe56cdf3285295642db09b70b673d865551b4a.zip |
tdb2: Remove unused tdb1 functions.
We're going to use TDB2's API, so some TDB1 APIs are obviously unnecessary.
We also get rid of USE_RIGHT_MERGES and TRACE code.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
(Imported from CCAN commit b929638e3cfe629285af3ecd0813e03eaeaa1133)
Diffstat (limited to 'lib/tdb2/test/run-tdb1-incompatible.c')
-rw-r--r-- | lib/tdb2/test/run-tdb1-incompatible.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/tdb2/test/run-tdb1-incompatible.c b/lib/tdb2/test/run-tdb1-incompatible.c index ed3181a9b5..5a4a61af33 100644 --- a/lib/tdb2/test/run-tdb1-incompatible.c +++ b/lib/tdb2/test/run-tdb1-incompatible.c @@ -10,7 +10,7 @@ static unsigned int tdb1_dumb_hash(TDB1_DATA *key) static void log_fn(struct tdb1_context *tdb, enum tdb1_debug_level level, const char *fmt, ...) { - unsigned int *count = tdb1_get_logging_private(tdb); + unsigned int *count = tdb->log.log_private; if (strstr(fmt, "hash")) (*count)++; } |