diff options
author | Volker Lendecke <vl@samba.org> | 2012-12-14 22:49:05 +0100 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2013-01-07 11:20:19 +0100 |
commit | f2d67af7bc0b316f54d6cc1a44d07f1b24244378 (patch) | |
tree | b96eccc95620463c905a2ad66080953763675cfd /lib/tdb/common | |
parent | 1beb4bc9d12fb124935e9e4710f48ad616dacc60 (diff) | |
download | samba-f2d67af7bc0b316f54d6cc1a44d07f1b24244378.tar.gz samba-f2d67af7bc0b316f54d6cc1a44d07f1b24244378.tar.xz samba-f2d67af7bc0b316f54d6cc1a44d07f1b24244378.zip |
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 <rusty@samba.org>
Autobuild-User(master): Volker Lendecke <vl@samba.org>
Autobuild-Date(master): Mon Jan 7 11:20:19 CET 2013 on sn-devel-104
Diffstat (limited to 'lib/tdb/common')
-rw-r--r-- | lib/tdb/common/lock.c | 2 |
1 files changed, 2 insertions, 0 deletions
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); |