summaryrefslogtreecommitdiffstatshomepage
path: root/py/objcell.c
diff options
context:
space:
mode:
Diffstat (limited to 'py/objcell.c')
-rw-r--r--py/objcell.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/py/objcell.c b/py/objcell.c
index 9e43d7fb27..9adbc16aea 100644
--- a/py/objcell.c
+++ b/py/objcell.c
@@ -55,7 +55,7 @@ STATIC void cell_print(void (*print)(void *env, const char *fmt, ...), void *env
}
#endif
-const mp_obj_type_t cell_type = {
+STATIC const mp_obj_type_t mp_type_cell = {
{ &mp_type_type },
.name = MP_QSTR_, // cell representation is just value in < >
#if MICROPY_ERROR_REPORTING == MICROPY_ERROR_REPORTING_DETAILED
@@ -65,7 +65,7 @@ const mp_obj_type_t cell_type = {
mp_obj_t mp_obj_new_cell(mp_obj_t obj) {
mp_obj_cell_t *o = m_new_obj(mp_obj_cell_t);
- o->base.type = &cell_type;
+ o->base.type = &mp_type_cell;
o->obj = obj;
return o;
}