diff options
author | Volker Lendecke <vl@samba.org> | 2013-09-03 14:40:58 +0000 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2013-09-06 13:34:28 +0200 |
commit | e6542683ca6d65b99972d763ebb4df52826fca1e (patch) | |
tree | b8650f51c07ca7569709e7dc0913b55b51beb53e | |
parent | aee0f2ccf7a10b5344b00711b0d294648f15bd10 (diff) | |
download | samba-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>
-rw-r--r-- | source3/locking/locking.c | 4 |
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; |