From f2d67af7bc0b316f54d6cc1a44d07f1b24244378 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Fri, 14 Dec 2012 22:49:05 +0100 Subject: tdb: Fix undefined prototype warnings These functions are deliberately left without prototypes according to 3fdeaa399, but without prototypes we get warnings. Reviewed-by: Rusty Russell Autobuild-User(master): Volker Lendecke Autobuild-Date(master): Mon Jan 7 11:20:19 CET 2013 on sn-devel-104 --- lib/tdb/common/lock.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lib/tdb') diff --git a/lib/tdb/common/lock.c b/lib/tdb/common/lock.c index 7155a9f470..b530c6ed5f 100644 --- a/lib/tdb/common/lock.c +++ b/lib/tdb/common/lock.c @@ -883,12 +883,14 @@ void tdb_release_transaction_locks(struct tdb_context *tdb) /* Following functions are added specifically to support CTDB. */ /* Don't do actual fcntl locking, just mark tdb locked */ +int tdb_transaction_write_lock_mark(struct tdb_context *tdb); _PUBLIC_ int tdb_transaction_write_lock_mark(struct tdb_context *tdb) { return tdb_transaction_lock(tdb, F_WRLCK, TDB_LOCK_MARK_ONLY); } /* Don't do actual fcntl unlocking, just mark tdb unlocked */ +int tdb_transaction_write_lock_unmark(struct tdb_context *tdb); _PUBLIC_ int tdb_transaction_write_lock_unmark(struct tdb_context *tdb) { return tdb_nest_unlock(tdb, TRANSACTION_LOCK, F_WRLCK, true); -- cgit