From 7acfac87cf97da78609eded799e0eaf54e1d282a Mon Sep 17 00:00:00 2001 From: Gabriele 'matrix' Gristina Date: Mon, 25 Jan 2016 13:35:58 +0100 Subject: [PATCH] Fixed compiler warnings (no previous prototype for function) --- OpenCL/rp.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/OpenCL/rp.c b/OpenCL/rp.c index 4abd26d69..4c29dcd16 100644 --- a/OpenCL/rp.c +++ b/OpenCL/rp.c @@ -3,6 +3,10 @@ * 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) { const u32 rmask = ((buf & 0x40404040) >> 1)