mirror of
https://github.com/sheumann/hush.git
synced 2024-10-11 10:23:41 +00:00
crc32: cleanups, no code changes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
parent
db9ccc5772
commit
16cc80e989
@ -55,11 +55,10 @@ gpt_part(int i)
|
||||
return (gpt_partition *)&part_array[i * part_entry_len];
|
||||
}
|
||||
|
||||
/* TODO: move to libbb */
|
||||
static uint32_t
|
||||
gpt_crc32(void *buf, int len)
|
||||
{
|
||||
return 0xffffffff ^ crc32_block_endian0(0xffffffff, buf, len, global_crc32_table);
|
||||
return ~crc32_block_endian0(0xffffffff, buf, len, global_crc32_table);
|
||||
}
|
||||
|
||||
static void
|
||||
|
Loading…
Reference in New Issue
Block a user