From 3c7fcdfdd41eeb509cbdde38486d18ed1f013447 Mon Sep 17 00:00:00 2001 From: Kurt Cancemi Date: Sun, 28 Sep 2014 15:28:49 -0400 Subject: RT3547: Add missing static qualifier Reviewed-by: Ben Laurie (cherry picked from commit 87d388c955c14a7c1371f9c7555fb429a406a3d3) --- crypto/constant_time_locl.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crypto/constant_time_locl.h b/crypto/constant_time_locl.h index c0483939fe..7b339a7c31 100644 --- a/crypto/constant_time_locl.h +++ b/crypto/constant_time_locl.h @@ -204,7 +204,7 @@ static inline unsigned char constant_time_select_8(unsigned char mask, return (unsigned char)(constant_time_select(mask, a, b)); } -inline int constant_time_select_int(unsigned int mask, int a, int b) +static inline int constant_time_select_int(unsigned int mask, int a, int b) { return (int)(constant_time_select(mask, (unsigned)(a), (unsigned)(b))); } -- cgit v1.2.3