summaryrefslogtreecommitdiff
path: root/source3/locking
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2013-09-10 11:39:52 +0000
committerVolker Lendecke <vl@samba.org>2013-09-11 08:27:11 +0200
commitcca8faa62194308001c029054578604d0a759967 (patch)
treea988f23bab24c9c5656b651eb8c26bf8e56f9043 /source3/locking
parente533bf3ef168424234a10331fa4edf98dacb3a4b (diff)
downloadsamba-cca8faa62194308001c029054578604d0a759967.tar.gz
samba-cca8faa62194308001c029054578604d0a759967.tar.bz2
samba-cca8faa62194308001c029054578604d0a759967.zip
smbd: Make brl_same_context static
Diffstat (limited to 'source3/locking')
-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);