summaryrefslogtreecommitdiff
path: root/source3/locking/brlock.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/locking/brlock.c')
-rw-r--r--source3/locking/brlock.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/source3/locking/brlock.c b/source3/locking/brlock.c
index f821761cd7..eb42d081fe 100644
--- a/source3/locking/brlock.c
+++ b/source3/locking/brlock.c
@@ -258,7 +258,7 @@ static NTSTATUS brl_lock_failed(files_struct *fsp, const struct lock_struct *loc
Open up the brlock.tdb database.
****************************************************************************/
-void brl_init(int read_only)
+void brl_init(bool read_only)
{
if (brlock_db) {
return;
@@ -279,11 +279,8 @@ void brl_init(int read_only)
Close down the brlock.tdb database.
****************************************************************************/
-void brl_shutdown(int read_only)
+void brl_shutdown(void)
{
- if (!brlock_db) {
- return;
- }
TALLOC_FREE(brlock_db);
}