From a2b98959afdd96e336b2a472f674d351abb4d6ba Mon Sep 17 00:00:00 2001 From: Gabriele Gristina Date: Sun, 27 Nov 2016 23:59:26 +0100 Subject: [PATCH] Fix kernel build warnings (no previous prototypes and/or incompatible function parameters ... --- OpenCL/m03200.cl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OpenCL/m03200.cl b/OpenCL/m03200.cl index a7fc3b4a9..96c0a79dc 100644 --- a/OpenCL/m03200.cl +++ b/OpenCL/m03200.cl @@ -364,7 +364,7 @@ __constant u32 c_sbox3[256] = L ^= P[17]; \ } -void expand_key (u32 E[18], const u32 W[16], const u32 len) +static void expand_key (u32 E[18], const u32 W[16], const u32 len) { u8 *E_cur = (u8 *) E; u8 *E_stop = E_cur + 72;