From 34bf28f9d49530902299fd7c87de7b9cd055cd0c Mon Sep 17 00:00:00 2001 From: jsteube Date: Sun, 22 Jul 2018 12:23:18 +0200 Subject: [PATCH] Fix __add3 bitops in host code --- include/bitops.h | 4 ++-- src/bitops.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/include/bitops.h b/include/bitops.h index a40ca6090..b6985a7e2 100644 --- a/include/bitops.h +++ b/include/bitops.h @@ -6,8 +6,8 @@ #ifndef _BITOPS_H #define _BITOPS_H -u32 __add3 (const u32 a, const u32 b, const u32 c); -u32 __add3_S (const u32 a, const u32 b, const u32 c); +u32 hc_add3 (const u32 a, const u32 b, const u32 c); +u32 hc_add3_S (const u32 a, const u32 b, const u32 c); u32 rotl32 (const u32 a, const u32 n); u32 rotr32 (const u32 a, const u32 n); diff --git a/src/bitops.c b/src/bitops.c index 8c6faec5c..949071630 100644 --- a/src/bitops.c +++ b/src/bitops.c @@ -7,12 +7,12 @@ #include "types.h" #include "bitops.h" -u32 __add3_S (const u32 a, const u32 b, const u32 c) +u32 hc_add3_S (const u32 a, const u32 b, const u32 c) { return a + b + c; } -u32 __add3 (const u32 a, const u32 b, const u32 c) +u32 hc_add3 (const u32 a, const u32 b, const u32 c) { return a + b + c; }