Fixed compiler warnings (no previous prototype for function)
authorGabriele 'matrix' Gristina <gm4tr1x@users.noreply.github.com>
Mon, 25 Jan 2016 12:35:58 +0000 (13:35 +0100)
committerGabriele 'matrix' Gristina <gm4tr1x@users.noreply.github.com>
Mon, 25 Jan 2016 12:35:58 +0000 (13:35 +0100)
OpenCL/rp.c

index 4abd26d..4c29dcd 100644 (file)
@@ -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)