Skip to content
Snippets Groups Projects
Commit 3327dfc1 authored by Damien George's avatar Damien George
Browse files

extmod/moducryptolib: Use "static" not "STATIC" for inline functions.

parent 0bd1eb80
No related branches found
No related tags found
No related merge requests found
......@@ -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];
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment