summaryrefslogtreecommitdiff
path: root/source3/locking
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2013-09-03 14:40:58 +0000
committerMichael Adam <obnox@samba.org>2013-09-06 13:34:28 +0200
commite6542683ca6d65b99972d763ebb4df52826fca1e (patch)
treeb8650f51c07ca7569709e7dc0913b55b51beb53e /source3/locking
parentaee0f2ccf7a10b5344b00711b0d294648f15bd10 (diff)
downloadsamba-e6542683ca6d65b99972d763ebb4df52826fca1e.tar.gz
samba-e6542683ca6d65b99972d763ebb4df52826fca1e.tar.bz2
samba-e6542683ca6d65b99972d763ebb4df52826fca1e.zip
smbd: Apply some const to find_share_mode_entry
Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Michael Adam <obnox@samba.org>
Diffstat (limited to 'source3/locking')
-rw-r--r--source3/locking/locking.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/locking/locking.c b/source3/locking/locking.c
index 5343ba462d..ad56cb19af 100644
--- a/source3/locking/locking.c
+++ b/source3/locking/locking.c
@@ -746,8 +746,8 @@ static bool share_modes_identical(const struct share_mode_entry *e1,
e1->share_file_id == e2->share_file_id );
}
-static struct share_mode_entry *find_share_mode_entry(struct share_mode_data *d,
- struct share_mode_entry *entry)
+static struct share_mode_entry *find_share_mode_entry(
+ struct share_mode_data *d, const struct share_mode_entry *entry)
{
int i;