Commit 3e653ace authored by Ondrej Kozina's avatar Ondrej Kozina Committed by Milan Broz

Use const for header in LUKS_keyslot_area.

parent 64f3df44
......@@ -54,7 +54,7 @@ static size_t LUKS_device_sectors(size_t keyLen)
return sector;
}
int LUKS_keyslot_area(struct luks_phdr *hdr,
int LUKS_keyslot_area(const struct luks_phdr *hdr,
int keyslot,
uint64_t *offset,
uint64_t *length)
......
......@@ -168,7 +168,7 @@ crypt_keyslot_info LUKS_keyslot_info(struct luks_phdr *hdr, int keyslot);
int LUKS_keyslot_find_empty(struct luks_phdr *hdr);
int LUKS_keyslot_active_count(struct luks_phdr *hdr);
int LUKS_keyslot_set(struct luks_phdr *hdr, int keyslot, int enable);
int LUKS_keyslot_area(struct luks_phdr *hdr,
int LUKS_keyslot_area(const struct luks_phdr *hdr,
int keyslot,
uint64_t *offset,
uint64_t *length);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment