From ad38ce8e40e5da935d9dedfd7f129992c7426be1 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_a1.cl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/OpenCL/m08000_a1.cl b/OpenCL/m08000_a1.cl index 80dcde3ca..e5df55010 100644 --- a/OpenCL/m08000_a1.cl +++ b/OpenCL/m08000_a1.cl @@ -39,7 +39,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]; @@ -127,7 +127,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]; @@ -178,7 +178,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];