From abd6dd156d4eef0323bdd3f0283c8408b55e98b3 Mon Sep 17 00:00:00 2001 From: Gabriele Gristina Date: Sun, 27 Nov 2016 23:59:32 +0100 Subject: [PATCH] Fix kernel build warnings (no previous prototypes and/or incompatible function parameters ... --- OpenCL/m10300.cl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OpenCL/m10300.cl b/OpenCL/m10300.cl index bf9b246ac..e06cd4b00 100644 --- a/OpenCL/m10300.cl +++ b/OpenCL/m10300.cl @@ -14,7 +14,7 @@ #define COMPARE_S "inc_comp_single.cl" #define COMPARE_M "inc_comp_multi.cl" -void sha1_transform (const u32 w0[4], const u32 w1[4], const u32 w2[4], const u32 w3[4], u32 digest[5]) +static void sha1_transform (const u32 w0[4], const u32 w1[4], const u32 w2[4], const u32 w3[4], u32 digest[5]) { u32 A = digest[0]; u32 B = digest[1];