aboutsummaryrefslogtreecommitdiff
path: root/py/builtinevex.c
diff options
context:
space:
mode:
authorPaul Sokolovsky <pfalcon@users.sourceforge.net>2014-02-12 18:31:30 +0200
committerPaul Sokolovsky <pfalcon@users.sourceforge.net>2014-02-12 18:31:30 +0200
commit520e2f58a559c356ea540a5da4e9a585649aecc6 (patch)
tree864ecd62ad09ab6c1af200a52b7227f8cfdeb6b6 /py/builtinevex.c
parentd5df6cd44a433d6253a61cb0f987835fbc06b2de (diff)
Replace global "static" -> "STATIC", to allow "analysis builds". Part 2.
Diffstat (limited to 'py/builtinevex.c')
-rw-r--r--py/builtinevex.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/py/builtinevex.c b/py/builtinevex.c
index 54c3f743e..af12bea1c 100644
--- a/py/builtinevex.c
+++ b/py/builtinevex.c
@@ -19,7 +19,7 @@
#include "map.h"
#include "builtin.h"
-static mp_obj_t parse_compile_execute(mp_obj_t o_in, mp_parse_input_kind_t parse_input_kind) {
+STATIC mp_obj_t parse_compile_execute(mp_obj_t o_in, mp_parse_input_kind_t parse_input_kind) {
uint str_len;
const char *str = mp_obj_str_get_data(o_in, &str_len);
@@ -51,13 +51,13 @@ static mp_obj_t parse_compile_execute(mp_obj_t o_in, mp_parse_input_kind_t parse
return rt_call_function_0(module_fun);
}
-static mp_obj_t mp_builtin_eval(mp_obj_t o_in) {
+STATIC mp_obj_t mp_builtin_eval(mp_obj_t o_in) {
return parse_compile_execute(o_in, MP_PARSE_EVAL_INPUT);
}
MP_DEFINE_CONST_FUN_OBJ_1(mp_builtin_eval_obj, mp_builtin_eval);
-static mp_obj_t mp_builtin_exec(mp_obj_t o_in) {
+STATIC mp_obj_t mp_builtin_exec(mp_obj_t o_in) {
return parse_compile_execute(o_in, MP_PARSE_FILE_INPUT);
}