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 392af2beb1

View File

@@ -53,7 +53,7 @@ static void SETSHIFTEDINT (u32 *a, const int n, const u32 v)
a[d + 1] = l32_from_64_S (tmp);
}
void sha1_transform (const u32 w0[4], const u32 w1[4], const u32 w2[4], const u32 w3[4], u32 digest[5])
static void sha1_transform (const u32 w0[4], const u32 w1[4], const u32 w2[4], const u32 w3[4], u32 digest[5])
{
u32 A = digest[0];
u32 B = digest[1];
@@ -433,7 +433,7 @@ __kernel void m07800_m04 (__global pw_t *pws, __global const kernel_rule_t *rule
u32 final_len = pw_len;
int i;
u32 i;
// append MagicArray
@@ -753,7 +753,7 @@ __kernel void m07800_s04 (__global pw_t *pws, __global const kernel_rule_t *rule
u32 final_len = pw_len;
int i;
u32 i;
// append MagicArray