summaryrefslogtreecommitdiff
path: root/source3/locking
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2013-09-03 14:40:35 +0000
committerMichael Adam <obnox@samba.org>2013-09-06 13:34:06 +0200
commitaee0f2ccf7a10b5344b00711b0d294648f15bd10 (patch)
tree296915acd587f5301e3fb046b956ba44ed8d6589 /source3/locking
parenta7d742937644373e0e2e75003d04c118e34385ff (diff)
downloadsamba-aee0f2ccf7a10b5344b00711b0d294648f15bd10.tar.gz
samba-aee0f2ccf7a10b5344b00711b0d294648f15bd10.tar.bz2
samba-aee0f2ccf7a10b5344b00711b0d294648f15bd10.zip
smbd: Apply some const to share_modes_identical
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 1567f8ffcd..5343ba462d 100644
--- a/source3/locking/locking.c
+++ b/source3/locking/locking.c
@@ -733,8 +733,8 @@ void set_share_mode(struct share_mode_lock *lck, files_struct *fsp,
not automatically a logic error if they are identical. JRA.)
********************************************************************/
-static bool share_modes_identical(struct share_mode_entry *e1,
- struct share_mode_entry *e2)
+static bool share_modes_identical(const struct share_mode_entry *e1,
+ const struct share_mode_entry *e2)
{
/* We used to check for e1->share_access == e2->share_access here
as well as the other fields but 2 different DOS or FCB opens