From 2aa684453aea4739383257f53a0f13ea27759df2 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Tue, 10 Sep 2013 11:41:39 +0000 Subject: [PATCH] smbd: Make brl_lock_failed static --- source3/locking/brlock.c | 4 +++- source3/locking/proto.h | 1 - 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); -- 2.34.1