From e5abfb8adc6e9b5ff722c1b61f1ce2707b93f2aa 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_a0.cl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/OpenCL/m11500_a0.cl b/OpenCL/m11500_a0.cl index 9f461cf79..134ba1160 100644 --- a/OpenCL/m11500_a0.cl +++ b/OpenCL/m11500_a0.cl @@ -85,7 +85,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; @@ -108,7 +108,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;