1
0
mirror of https://github.com/hashcat/hashcat.git synced 2024-11-29 19:38:18 +00:00

Merge pull request #161 from gm4tr1x/gpu-warnings3

Fixed compiler warnings (no previous prototype for function)
This commit is contained in:
Jens Steube 2016-01-26 18:14:02 +01:00
commit acbdd81039

View File

@ -3,6 +3,10 @@
* License.....: MIT * License.....: MIT
*/ */
u32 apply_rule (const u32 name, const u32 p0, const u32 p1, u32 buf0[4], u32 buf1[4], const u32 in_len);
u32 apply_rules (const __global u32 *cmds, u32 buf0[4], u32 buf1[4], const u32 len);
u32 apply_rules_vect (const u32 pw_buf0[4], const u32 pw_buf1[4], const u32 pw_len, const __global kernel_rule_t *rules_buf, const u32 il_pos, u32x w0[4], u32x w1[4]);
static u32 generate_cmask (u32 buf) static u32 generate_cmask (u32 buf)
{ {
const u32 rmask = ((buf & 0x40404040) >> 1) const u32 rmask = ((buf & 0x40404040) >> 1)