summaryrefslogtreecommitdiff
path: root/source3/locking
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2000-02-07 00:24:04 +0000
committerTim Potter <tpot@samba.org>2000-02-07 00:24:04 +0000
commitebbb007ed274c975ef5f36f6eb10e6e46df00dcb (patch)
treec7d3ff2a2955b49fb67d0a6b5e921905a2debc7d /source3/locking
parentc473ca6259ba02ecc29e0dfaf309ff6665a307b0 (diff)
downloadsamba-ebbb007ed274c975ef5f36f6eb10e6e46df00dcb.tar.gz
samba-ebbb007ed274c975ef5f36f6eb10e6e46df00dcb.tar.bz2
samba-ebbb007ed274c975ef5f36f6eb10e6e46df00dcb.zip
Fixed compile warning in locking.c:traverse_fn()
(This used to be commit eefc8972217e5a700b90f13ab040a0919f184d23)
Diffstat (limited to 'source3/locking')
-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;