From: Volker Lendecke Date: Tue, 10 Sep 2013 11:41:39 +0000 (+0000) Subject: smbd: Make brl_lock_failed static X-Git-Url: http://git.samba.org/?a=commitdiff_plain;h=2aa684453aea4739383257f53a0f13ea27759df2;p=mat%2Fsamba.git smbd: Make brl_lock_failed static --- 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);