mirror of
https://github.com/samba-team/samba.git
synced 2025-03-09 08:58:35 +03:00
g_lock: Apply some const
Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
parent
08a31c9092
commit
8992cf4aec
@ -90,7 +90,8 @@ static bool g_lock_parse(uint8_t *buf, size_t buflen, struct g_lock *lck)
|
||||
return true;
|
||||
}
|
||||
|
||||
static void g_lock_get_rec(struct g_lock *lck, size_t i,
|
||||
static void g_lock_get_rec(const struct g_lock *lck,
|
||||
size_t i,
|
||||
struct g_lock_rec *rec)
|
||||
{
|
||||
if (i >= lck->num_recs) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user