1
0
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:
Volker Lendecke 2019-05-06 16:19:22 +02:00 committed by Jeremy Allison
parent 08a31c9092
commit 8992cf4aec

View File

@ -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) {