Skip to content

Commit 3327dfc

Browse files
committed
extmod/moducryptolib: Use "static" not "STATIC" for inline functions.
1 parent 0bd1eb8 commit 3327dfc

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

extmod/moducryptolib.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,15 +89,15 @@ typedef struct _mp_obj_aes_t {
8989
uint8_t key_type: 2;
9090
} mp_obj_aes_t;
9191

92-
STATIC inline bool is_ctr_mode(int block_mode) {
92+
static inline bool is_ctr_mode(int block_mode) {
9393
#if MICROPY_PY_UCRYPTOLIB_CTR
9494
return block_mode == UCRYPTOLIB_MODE_CTR;
9595
#else
9696
return false;
9797
#endif
9898
}
9999

100-
STATIC inline struct ctr_params *ctr_params_from_aes(mp_obj_aes_t *o) {
100+
static inline struct ctr_params *ctr_params_from_aes(mp_obj_aes_t *o) {
101101
// ctr_params follows aes object struct
102102
return (struct ctr_params*)&o[1];
103103
}

0 commit comments

Comments
 (0)