summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2013-09-10 11:41:39 +0000
committerVolker Lendecke <vl@samba.org>2013-09-11 08:27:11 +0200
commit2aa684453aea4739383257f53a0f13ea27759df2 (patch)
tree8160604bb632950505b5e097c0570c8cb43feb76 /source3
parentcca8faa62194308001c029054578604d0a759967 (diff)
downloadsamba-2aa684453aea4739383257f53a0f13ea27759df2.tar.gz
samba-2aa684453aea4739383257f53a0f13ea27759df2.tar.bz2
samba-2aa684453aea4739383257f53a0f13ea27759df2.zip
smbd: Make brl_lock_failed static
Diffstat (limited to 'source3')
-rw-r--r--source3/locking/brlock.c4
-rw-r--r--source3/locking/proto.h1
2 files changed, 3 insertions, 2 deletions
diff --git a/source3/locking/brlock.c b/source3/locking/brlock.c
index 3fabf485c6..ae8a126ce4 100644
--- a/source3/locking/brlock.c
+++ b/source3/locking/brlock.c
@@ -240,7 +240,9 @@ static bool brl_pending_overlap(const struct lock_struct *lock, const struct loc
app depends on this ?
****************************************************************************/
-NTSTATUS brl_lock_failed(files_struct *fsp, const struct lock_struct *lock, bool blocking_lock)
+static NTSTATUS brl_lock_failed(files_struct *fsp,
+ const struct lock_struct *lock,
+ bool blocking_lock)
{
if (lock->start >= 0xEF000000 && (lock->start >> 63) == 0) {
/* amazing the little things you learn with a test
diff --git a/source3/locking/proto.h b/source3/locking/proto.h
index c6107dc5c7..a51c5a204c 100644
--- a/source3/locking/proto.h
+++ b/source3/locking/proto.h
@@ -25,7 +25,6 @@
/* The following definitions come from locking/brlock.c */
-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);