From 3327dfc16edf5110370c53de38bb4941a12928a3 Mon Sep 17 00:00:00 2001
From: Damien George <damien.p.george@gmail.com>
Date: Mon, 19 Aug 2019 22:29:24 +1000
Subject: [PATCH] extmod/moducryptolib: Use "static" not "STATIC" for inline
 functions.

---
 extmod/moducryptolib.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/extmod/moducryptolib.c b/extmod/moducryptolib.c
index 15cd4535f..fd487a816 100644
--- a/extmod/moducryptolib.c
+++ b/extmod/moducryptolib.c
@@ -89,7 +89,7 @@ typedef struct _mp_obj_aes_t {
     uint8_t key_type: 2;
 } mp_obj_aes_t;
 
-STATIC inline bool is_ctr_mode(int block_mode) {
+static inline bool is_ctr_mode(int block_mode) {
     #if MICROPY_PY_UCRYPTOLIB_CTR
     return block_mode == UCRYPTOLIB_MODE_CTR;
     #else
@@ -97,7 +97,7 @@ STATIC inline bool is_ctr_mode(int block_mode) {
     #endif
 }
 
-STATIC inline struct ctr_params *ctr_params_from_aes(mp_obj_aes_t *o) {
+static inline struct ctr_params *ctr_params_from_aes(mp_obj_aes_t *o) {
     // ctr_params follows aes object struct
     return (struct ctr_params*)&o[1];
 }
-- 
GitLab