git.samba.org
/
mat
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aee0f2c
)
smbd: Apply some const to find_share_mode_entry
author
Volker Lendecke
<vl@samba.org>
Tue, 3 Sep 2013 14:40:58 +0000
(14:40 +0000)
committer
Michael Adam
<obnox@samba.org>
Fri, 6 Sep 2013 11:34:28 +0000
(13:34 +0200)
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
source3/locking/locking.c
patch
|
blob
|
history
diff --git
a/source3/locking/locking.c
b/source3/locking/locking.c
index 5343ba462df7788d314a41ded5f94eece6b77ecb..ad56cb19af03693be30f911890f518311f2d3a16 100644
(file)
--- 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;