From 3f06fbb9c7a4f123833615017630010577efc00b 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/m09720_a1.cl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/OpenCL/m09720_a1.cl b/OpenCL/m09720_a1.cl index 3a7d1d43c..99bd21235 100644 --- a/OpenCL/m09720_a1.cl +++ b/OpenCL/m09720_a1.cl @@ -14,7 +14,7 @@ #include "inc_common.cl" #include "inc_simd.cl" -void md5_transform (const u32x w0[4], const u32x w1[4], const u32x w2[4], const u32x w3[4], u32x digest[4]) +static void md5_transform (const u32x w0[4], const u32x w1[4], const u32x w2[4], const u32x w3[4], u32x digest[4]) { u32x a = digest[0]; u32x b = digest[1]; @@ -112,7 +112,7 @@ void md5_transform (const u32x w0[4], const u32x w1[4], const u32x w2[4], const digest[3] += d; } -void gen336 (u32x digest_pre[4], u32 salt_buf[4], u32x digest[4]) +static void gen336 (u32x digest_pre[4], u32 salt_buf[4], u32x digest[4]) { u32x digest_t0[2]; u32x digest_t1[2];