-/**** FIXME: Type overrides for tdb2, for transition! */
-#define tdb_logerr(tdb, ecode, level, ...) \
- tdb_logerr((struct tdb_context *)(tdb), (ecode), (level), __VA_ARGS__)
-
-#define tdb_error(tdb) \
- tdb_error((struct tdb_context *)(tdb))
-
-#define tdb_brlock(tdb1, rw_type, offset, len, flags) \
- tdb_brlock((struct tdb_context *)(tdb1), \
- (rw_type), (offset), (len), (flags))
-
-#define tdb_brunlock(tdb1, rw_type, offset, len) \
- tdb_brunlock((struct tdb_context *)(tdb1), (rw_type), (offset), (len))
-
-#define tdb_nest_lock(tdb1, offset, ltype, flags) \
- tdb_nest_lock((struct tdb_context *)(tdb1), (offset), (ltype), (flags))
-
-#define tdb_nest_unlock(tdb1, offset, ltype) \
- tdb_nest_unlock((struct tdb_context *)(tdb1), (offset), (ltype))
-
-#define tdb_allrecord_lock(tdb1, offset, flags, upgradable) \
- tdb_allrecord_lock((struct tdb_context *)(tdb1), \
- (offset), (flags), (upgradable))
-
-#define tdb_allrecord_unlock(tdb1, ltype) \
- tdb_allrecord_unlock((struct tdb_context *)(tdb1), (ltype))
-
-#define tdb_allrecord_upgrade(tdb1, start) \
- tdb_allrecord_upgrade((struct tdb_context *)(tdb1), (start))
-
-#define tdb_lock_gradual(tdb1, ltype, flags, off, len) \
- tdb_lock_gradual((struct tdb_context *)(tdb1), \
- (ltype), (flags), (off), (len))
-/***** END FIXME ***/
-