summaryrefslogtreecommitdiff
path: root/source3/locking/posix.c
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2012-06-12 12:13:15 +0200
committerStefan Metzmacher <metze@samba.org>2012-06-22 15:16:49 +0200
commit89b2eb1d06f543388fce9239bcd209fc367d0cad (patch)
tree3d591a4a33f59bbdd1ed876dfa17c955ec90795c /source3/locking/posix.c
parent6658a2f6ef0e1bd10aa0b4913bb51636fa968586 (diff)
downloadsamba-89b2eb1d06f543388fce9239bcd209fc367d0cad.tar.gz
samba-89b2eb1d06f543388fce9239bcd209fc367d0cad.tar.bz2
samba-89b2eb1d06f543388fce9239bcd209fc367d0cad.zip
s3: Make reduce_windows_lock_ref_count static
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'source3/locking/posix.c')
-rw-r--r--source3/locking/posix.c3
1 files changed, 2 insertions, 1 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;