From 086d98cbde2dffe43c2879d15d2c419a1250008e Mon Sep 17 00:00:00 2001 From: Damien George Date: Tue, 2 Feb 2016 16:51:52 +0000 Subject: [PATCH] py/objstr: Make mp_obj_str_format_helper static. --- py/objstr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);