From a15c1cf175d7f29a50d7b2c1acb0f67faab1b06f Mon Sep 17 00:00:00 2001 From: Rusty Russell Date: Wed, 14 Sep 2011 08:03:13 +0930 Subject: tdb2: tdb_repack Move the tdb1_repack() code into the core, make it general, rename to tdb_repack(). It's generic code: copy database into temporary, wipe it, copy back. Signed-off-by: Rusty Russell (Imported from CCAN commit e487983a4099b6f760056ff7182f2ff543e6da71) --- lib/tdb2/tdb1.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'lib/tdb2/tdb1.h') diff --git a/lib/tdb2/tdb1.h b/lib/tdb2/tdb1.h index 3d9fcd70a4..6f23b6dd2b 100644 --- a/lib/tdb2/tdb1.h +++ b/lib/tdb2/tdb1.h @@ -42,8 +42,6 @@ uint64_t tdb1_incompatible_hash(const void *key, size_t len, uint64_t seed, void /* @} ******************************************************************/ -int tdb1_repack(struct tdb_context *tdb); - extern TDB_DATA tdb1_null; #endif /* tdb1.h */ -- cgit