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

pull/677/head
Gabriele Gristina 8 years ago
parent 646a47236c
commit 5c64803a54

@ -83,7 +83,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;
@ -106,7 +106,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;

Loading…
Cancel
Save