summaryrefslogtreecommitdiff
path: root/source3/locking/locking.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/locking/locking.c')
-rw-r--r--source3/locking/locking.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/locking/locking.c b/source3/locking/locking.c
index 890214f10e..2f85e92932 100644
--- a/source3/locking/locking.c
+++ b/source3/locking/locking.c
@@ -470,7 +470,8 @@ BOOL modify_share_mode(files_struct *fsp, int new_mode, uint16 new_oplock)
traverse the whole database with this function, calling traverse_callback
on each share mode
****************************************************************************/
-static int traverse_fn(TDB_CONTEXT *tdb, TDB_DATA kbuf, TDB_DATA dbuf, void* state)
+static int traverse_fn(TDB_CONTEXT *the_tdb, TDB_DATA kbuf, TDB_DATA dbuf,
+ void* state)
{
struct locking_data *data;
share_mode_entry *shares;