diff options
author | Damien George <damien.p.george@gmail.com> | 2019-08-19 22:29:24 +1000 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2019-08-20 15:21:09 +1000 |
commit | 3327dfc16edf5110370c53de38bb4941a12928a3 (patch) | |
tree | 911e7bee1d67427ade729f64a26c5c26980d108c | |
parent | 0bd1eb80ff49dd0d4ad0c369a83a5aadea995944 (diff) |
extmod/moducryptolib: Use "static" not "STATIC" for inline functions.
-rw-r--r-- | extmod/moducryptolib.c | 4 |
1 files 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]; } |