summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
Diffstat (limited to 'source3')
-rw-r--r--source3/locking/posix.c3
-rw-r--r--source3/locking/proto.h1
2 files changed, 2 insertions, 2 deletions
diff --git a/source3/locking/posix.c b/source3/locking/posix.c
index f4886512c8..a548027d76 100644
--- a/source3/locking/posix.c
+++ b/source3/locking/posix.c
@@ -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;
diff --git a/source3/locking/proto.h b/source3/locking/proto.h
index f6a6f2ee12..74cf32379f 100644
--- a/source3/locking/proto.h
+++ b/source3/locking/proto.h
@@ -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,