diff options
| author | Damien <damien.p.george@gmail.com> | 2013-10-19 15:09:32 +0100 |
|---|---|---|
| committer | Damien <damien.p.george@gmail.com> | 2013-10-19 15:09:32 +0100 |
| commit | 1595f3257e9b194c86b9e790c2d58f46ae907bae (patch) | |
| tree | accfd03b2ab69d88440a63b879af44b1a7809f91 /py/runtime.c | |
| parent | 00ff04fc4932fc7c3fc2f9b9074f11c189045dad (diff) | |
Make rt_fun_table const, so it goes in .text section.
Diffstat (limited to 'py/runtime.c')
| -rw-r--r-- | py/runtime.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/py/runtime.c b/py/runtime.c index d367530cc..01fd92fcf 100644 --- a/py/runtime.c +++ b/py/runtime.c @@ -1546,7 +1546,7 @@ py_obj_t rt_iternext(py_obj_t o_in) { } } -void *rt_fun_table[RT_F_NUMBER_OF] = { +const void *const rt_fun_table[RT_F_NUMBER_OF] = { rt_load_const_str, rt_load_name, rt_load_global, |
