1
0
mirror of https://github.com/hashcat/hashcat.git synced 2024-11-26 01:50:10 +00:00

Fix kernel build warnings (no previous prototypes and/or incompatible function parameters ...

This commit is contained in:
Gabriele Gristina 2016-11-27 23:59:34 +01:00
parent 646a47236c
commit e5abfb8adc

View File

@ -85,7 +85,7 @@ __constant u32 crc32tab[0x100] =
0xb40bbe37, 0xc30c8ea1, 0x5a05df1b, 0x2d02ef8d
};
u32x round_crc32 (u32x a, const u32x v)
static u32x round_crc32 (u32x a, const u32x v)
{
const u32x k = (a ^ v) & 0xff;
@ -108,7 +108,7 @@ u32x round_crc32 (u32x a, const u32x v)
return a;
}
u32x crc32 (const u32x w[16], const u32 pw_len, const u32 iv)
static u32x crc32 (const u32x w[16], const u32 pw_len, const u32 iv)
{
u32x a = iv ^ ~0;