summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
Diffstat (limited to 'source3')
-rw-r--r--source3/locking/brlock.c2
-rw-r--r--source3/locking/proto.h2
2 files changed, 1 insertions, 3 deletions
diff --git a/source3/locking/brlock.c b/source3/locking/brlock.c
index eeff76a78e..3fabf485c6 100644
--- a/source3/locking/brlock.c
+++ b/source3/locking/brlock.c
@@ -67,7 +67,7 @@ static void print_lock_struct(unsigned int i, const struct lock_struct *pls)
See if two locking contexts are equal.
****************************************************************************/
-bool brl_same_context(const struct lock_context *ctx1,
+static bool brl_same_context(const struct lock_context *ctx1,
const struct lock_context *ctx2)
{
return (serverid_equal(&ctx1->pid, &ctx2->pid) &&
diff --git a/source3/locking/proto.h b/source3/locking/proto.h
index 93fbea5203..c6107dc5c7 100644
--- a/source3/locking/proto.h
+++ b/source3/locking/proto.h
@@ -25,8 +25,6 @@
/* The following definitions come from locking/brlock.c */
-bool brl_same_context(const struct lock_context *ctx1,
- const struct lock_context *ctx2);
NTSTATUS brl_lock_failed(files_struct *fsp, const struct lock_struct *lock, bool blocking_lock);
void brl_init(bool read_only);
void brl_shutdown(void);