summaryrefslogtreecommitdiff
path: root/py/moderrno.c
diff options
context:
space:
mode:
Diffstat (limited to 'py/moderrno.c')
-rw-r--r--py/moderrno.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/py/moderrno.c b/py/moderrno.c
index 4f0673a23..58a141c10 100644
--- a/py/moderrno.c
+++ b/py/moderrno.c
@@ -62,13 +62,13 @@
#endif
#if MICROPY_PY_ERRNO_ERRORCODE
-STATIC const mp_rom_map_elem_t errorcode_table[] = {
+static const mp_rom_map_elem_t errorcode_table[] = {
#define X(e) { MP_ROM_INT(MP_##e), MP_ROM_QSTR(MP_QSTR_##e) },
MICROPY_PY_ERRNO_LIST
#undef X
};
-STATIC const mp_obj_dict_t errorcode_dict = {
+static const mp_obj_dict_t errorcode_dict = {
.base = {&mp_type_dict},
.map = {
.all_keys_are_qstrs = 0, // keys are integers
@@ -81,7 +81,7 @@ STATIC const mp_obj_dict_t errorcode_dict = {
};
#endif
-STATIC const mp_rom_map_elem_t mp_module_errno_globals_table[] = {
+static const mp_rom_map_elem_t mp_module_errno_globals_table[] = {
{ MP_ROM_QSTR(MP_QSTR___name__), MP_ROM_QSTR(MP_QSTR_errno) },
#if MICROPY_PY_ERRNO_ERRORCODE
{ MP_ROM_QSTR(MP_QSTR_errorcode), MP_ROM_PTR(&errorcode_dict) },
@@ -92,7 +92,7 @@ STATIC const mp_rom_map_elem_t mp_module_errno_globals_table[] = {
#undef X
};
-STATIC MP_DEFINE_CONST_DICT(mp_module_errno_globals, mp_module_errno_globals_table);
+static MP_DEFINE_CONST_DICT(mp_module_errno_globals, mp_module_errno_globals_table);
const mp_obj_module_t mp_module_errno = {
.base = { &mp_type_module },