1
0
mirror of https://github.com/hashcat/hashcat.git synced 2024-11-22 16:18:09 +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:30 +01:00
parent 646a47236c
commit ad38ce8e40

View File

@ -39,7 +39,7 @@ __constant u32 k_sha256[64] =
#define SHA256_EXPAND_S(x,y,z,w) (SHA256_S1_S (x) + y + SHA256_S0_S (z) + w)
void sha256_transform (u32x digest[8], const u32x w[16])
static void sha256_transform (u32x digest[8], const u32x w[16])
{
u32x a = digest[0];
u32x b = digest[1];
@ -127,7 +127,7 @@ void sha256_transform (u32x digest[8], const u32x w[16])
digest[7] += h;
}
void sha256_transform_z (u32x digest[8])
static void sha256_transform_z (u32x digest[8])
{
u32x a = digest[0];
u32x b = digest[1];
@ -178,7 +178,7 @@ void sha256_transform_z (u32x digest[8])
digest[7] += h;
}
void sha256_transform_s (u32x digest[8], __local u32 *w)
static void sha256_transform_s (u32x digest[8], __local u32 *w)
{
u32x a = digest[0];
u32x b = digest[1];