s3: Make reduce_windows_lock_ref_count static
authorVolker Lendecke <vl@samba.org>
Tue, 12 Jun 2012 10:13:15 +0000 (12:13 +0200)
committerStefan Metzmacher <metze@samba.org>
Fri, 22 Jun 2012 13:16:49 +0000 (15:16 +0200)
Signed-off-by: Stefan Metzmacher <metze@samba.org>
source3/locking/posix.c
source3/locking/proto.h

index f4886512c80513390dd3e718c7ddf4c5b8a39e97..a548027d7682ab6754772511cdf2dc777734655e 100644 (file)
@@ -424,7 +424,8 @@ static void increment_windows_lock_ref_count(files_struct *fsp)
  Bulk delete - subtract as many locks as we've just deleted.
 ****************************************************************************/
 
-void reduce_windows_lock_ref_count(files_struct *fsp, unsigned int dcount)
+static void reduce_windows_lock_ref_count(files_struct *fsp,
+                                         unsigned int dcount)
 {
        struct lock_ref_count_key tmp;
        int32_t lock_ref_count = 0;
index f6a6f2ee12d94155b9cbe119e51613c6b77b1905..74cf32379f4bc717594015f491fa49d1970e749d 100644 (file)
@@ -207,7 +207,6 @@ bool is_posix_locked(files_struct *fsp,
                        enum brl_flavour lock_flav);
 bool posix_locking_init(bool read_only);
 bool posix_locking_end(void);
-void reduce_windows_lock_ref_count(files_struct *fsp, unsigned int dcount);
 int fd_close_posix(struct files_struct *fsp);
 bool set_posix_lock_windows_flavour(files_struct *fsp,
                        uint64_t u_offset,