mirror of
https://github.com/hashcat/hashcat.git
synced 2024-11-14 03:39:09 +00:00
Fix kernel build warnings (no previous prototypes and/or incompatible function parameters ...
This commit is contained in:
parent
646a47236c
commit
ad38ce8e40
@ -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];
|
||||
|
Loading…
Reference in New Issue
Block a user