From dab6a87148588531ea4fb8c50b2c2e51c89b9bc7 Mon Sep 17 00:00:00 2001 From: Gabriele Gristina Date: Sun, 27 Nov 2016 23:59:31 +0100 Subject: [PATCH] Fix kernel build warnings (no previous prototypes and/or incompatible function parameters ... --- OpenCL/m09000.cl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OpenCL/m09000.cl b/OpenCL/m09000.cl index 6c5863f68..5b4d26110 100644 --- a/OpenCL/m09000.cl +++ b/OpenCL/m09000.cl @@ -373,7 +373,7 @@ __constant u32 c_pbox[18] = L ^= P[17]; \ } -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];