summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);