From 5c64803a54cc3c5b707bde9e820424b4daee15df Mon Sep 17 00:00:00 2001 From: Gabriele Gristina Date: Sun, 27 Nov 2016 23:59:34 +0100 Subject: [PATCH] Fix kernel build warnings (no previous prototypes and/or incompatible function parameters ... --- OpenCL/m11500_a1.cl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/OpenCL/m11500_a1.cl b/OpenCL/m11500_a1.cl index d89ebeca9..33bd0d784 100644 --- a/OpenCL/m11500_a1.cl +++ b/OpenCL/m11500_a1.cl @@ -83,7 +83,7 @@ __constant u32 crc32tab[0x100] = 0xb40bbe37, 0xc30c8ea1, 0x5a05df1b, 0x2d02ef8d }; -u32x round_crc32 (u32x a, const u32x v) +static u32x round_crc32 (u32x a, const u32x v) { const u32x k = (a ^ v) & 0xff; @@ -106,7 +106,7 @@ u32x round_crc32 (u32x a, const u32x v) return a; } -u32x crc32 (const u32x w[16], const u32 pw_len, const u32 iv) +static u32x crc32 (const u32x w[16], const u32 pw_len, const u32 iv) { u32x a = iv ^ ~0;