From e6542683ca6d65b99972d763ebb4df52826fca1e Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Tue, 3 Sep 2013 14:40:58 +0000 Subject: [PATCH] smbd: Apply some const to find_share_mode_entry Signed-off-by: Volker Lendecke Reviewed-by: Michael Adam --- source3/locking/locking.c | 4 ++-- 1 file 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; -- 2.34.1