]> git.ozlabs.org Git - ccan/blobdiff - ccan/tdb2/private.h
tdb2: expand lock now nests inside other locks.
[ccan] / ccan / tdb2 / private.h
index 60e14d2a4ce8e1f91910d9da3658be431bd76c29..2074e3155a0046ed737cb92cadb80e7a00d6148e 100644 (file)
@@ -405,9 +405,6 @@ void tdb_unlock_open(struct tdb_context *tdb);
 int tdb_lock_expand(struct tdb_context *tdb, int ltype);
 void tdb_unlock_expand(struct tdb_context *tdb, int ltype);
 
-/* Expand the file. */
-int tdb_expand(struct tdb_context *tdb, tdb_len_t klen, tdb_len_t dlen,
-              bool growing);
 
 #if 0
 /* Low-level locking primitives. */