diff options
author | Damien George <damien.p.george@gmail.com> | 2016-02-02 16:51:52 +0000 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2016-02-02 16:51:52 +0000 |
commit | 086d98cbde2dffe43c2879d15d2c419a1250008e (patch) | |
tree | 2871e82472bff7d5b8a3c0a25a5b92a55a57ced1 /py | |
parent | 87e07ea9439cb4113f8425390f4a0f20861b5447 (diff) | |
download | micropython-086d98cbde2dffe43c2879d15d2c419a1250008e.tar.gz micropython-086d98cbde2dffe43c2879d15d2c419a1250008e.zip |
py/objstr: Make mp_obj_str_format_helper static.
Diffstat (limited to 'py')
-rw-r--r-- | py/objstr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/py/objstr.c b/py/objstr.c index ed850baa7b..60f65d8439 100644 --- a/py/objstr.c +++ b/py/objstr.c @@ -848,7 +848,7 @@ STATIC NORETURN void terse_str_format_value_error(void) { nlr_raise(mp_obj_new_exception_msg(&mp_type_ValueError, "bad format string")); } -vstr_t mp_obj_str_format_helper(const char *str, const char *top, int *arg_i, mp_uint_t n_args, const mp_obj_t *args, mp_map_t *kwargs) { +STATIC vstr_t mp_obj_str_format_helper(const char *str, const char *top, int *arg_i, mp_uint_t n_args, const mp_obj_t *args, mp_map_t *kwargs) { vstr_t vstr; mp_print_t print; vstr_init_print(&vstr, 16, &print); |