smbd: Make brl_lock_failed static
authorVolker Lendecke <vl@samba.org>
Tue, 10 Sep 2013 11:41:39 +0000 (11:41 +0000)
committerVolker Lendecke <vl@samba.org>
Wed, 11 Sep 2013 06:27:11 +0000 (08:27 +0200)
source3/locking/brlock.c
source3/locking/proto.h

index 3fabf485c6a515dd8cf6139fe10199789d6fd941..ae8a126ce462e80fc7e14ba094a5dd0b69335f3b 100644 (file)
@@ -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
index c6107dc5c7c3efee5de77fb27a39c9f6ea30724d..a51c5a204c4fca6950627dbee961d4ad258a25ec 100644 (file)
@@ -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);