summaryrefslogtreecommitdiffstatshomepage
path: root/py/runtime.h
diff options
context:
space:
mode:
authorDamien <damien.p.george@gmail.com>2013-10-19 18:28:01 +0100
committerDamien <damien.p.george@gmail.com>2013-10-19 18:28:01 +0100
commitdf4b4f31effb663978064274e4077cfbcacfab2a (patch)
tree8ac36a42472066103e33564e6e6dc4c9803a04e0 /py/runtime.h
parent4d7adce9c55a77ecec5902795208ce6ada966422 (diff)
downloadmicropython-df4b4f31effb663978064274e4077cfbcacfab2a.tar.gz
micropython-df4b4f31effb663978064274e4077cfbcacfab2a.zip
Make grammar rules const so the go in .text section.
Diffstat (limited to 'py/runtime.h')
-rw-r--r--py/runtime.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/py/runtime.h b/py/runtime.h
index 86d59f24e5..dc7ecc6172 100644
--- a/py/runtime.h
+++ b/py/runtime.h
@@ -76,7 +76,7 @@ typedef enum {
RT_F_NUMBER_OF,
} rt_fun_kind_t;
-extern const void *const rt_fun_table[RT_F_NUMBER_OF];
+extern void *const rt_fun_table[RT_F_NUMBER_OF];
typedef machine_ptr_t py_obj_t; // must be of pointer size
typedef py_obj_t (*py_fun_0_t)();