From f32826919999d457c4f62dc141d5e9f7317d6da2 Mon Sep 17 00:00:00 2001 From: Vincent Hanquez Date: Sat, 19 Jul 2014 18:00:54 +0100 Subject: [PATCH] mark salsa load32 as static inline --- cbits/cryptonite_salsa.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cbits/cryptonite_salsa.c b/cbits/cryptonite_salsa.c index 8dfdc15..9513138 100644 --- a/cbits/cryptonite_salsa.c +++ b/cbits/cryptonite_salsa.c @@ -44,7 +44,7 @@ static const uint8_t tau[16] = "expand 16-byte k"; d ^= rol32(c+b, 13); \ a ^= rol32(d+c, 18); -uint32_t load32(const uint8_t *p) +static inline uint32_t load32(const uint8_t *p) { return le32_to_cpu(*((uint32_t *) p)); }