From 51c127cf80b711a0f257314e5f556b2ebc02d3a6 Mon Sep 17 00:00:00 2001 From: Gabriele Gristina Date: Sun, 27 Nov 2016 23:59:30 +0100 Subject: [PATCH] Fix kernel build warnings (no previous prototypes and/or incompatible function parameters ... --- OpenCL/m08000_a0.cl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/OpenCL/m08000_a0.cl b/OpenCL/m08000_a0.cl index 904cb4bb2..fd2ce6792 100644 --- a/OpenCL/m08000_a0.cl +++ b/OpenCL/m08000_a0.cl @@ -41,7 +41,7 @@ __constant u32 k_sha256[64] = #define SHA256_EXPAND_S(x,y,z,w) (SHA256_S1_S (x) + y + SHA256_S0_S (z) + w) -void sha256_transform (u32x digest[8], const u32x w[16]) +static void sha256_transform (u32x digest[8], const u32x w[16]) { u32x a = digest[0]; u32x b = digest[1]; @@ -129,7 +129,7 @@ void sha256_transform (u32x digest[8], const u32x w[16]) digest[7] += h; } -void sha256_transform_z (u32x digest[8]) +static void sha256_transform_z (u32x digest[8]) { u32x a = digest[0]; u32x b = digest[1]; @@ -180,7 +180,7 @@ void sha256_transform_z (u32x digest[8]) digest[7] += h; } -void sha256_transform_s (u32x digest[8], __local u32 *w) +static void sha256_transform_s (u32x digest[8], __local u32 *w) { u32x a = digest[0]; u32x b = digest[1];