From d5df6cd44a433d6253a61cb0f987835fbc06b2de Mon Sep 17 00:00:00 2001 From: Paul Sokolovsky Date: Wed, 12 Feb 2014 18:15:40 +0200 Subject: Replace global "static" -> "STATIC", to allow "analysis builds". Part 1. Some tools do not support local/static symbols (one example is GNU ld map file). Exposing all functions will allow to do detailed size comparisons, etc. Also, added bunch of statics where they were missing, and replaced few identity functions with global mp_identity(). --- py/objint_longlong.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'py/objint_longlong.c') diff --git a/py/objint_longlong.c b/py/objint_longlong.c index 83db6033f..f63780790 100644 --- a/py/objint_longlong.c +++ b/py/objint_longlong.c @@ -13,7 +13,7 @@ #if MICROPY_LONGINT_IMPL == MICROPY_LONGINT_IMPL_LONGLONG -static mp_obj_t mp_obj_new_int_from_ll(long long val); +STATIC mp_obj_t mp_obj_new_int_from_ll(long long val); // Python3 no longer has "l" suffix for long ints. We allow to use it // for debugging purpose though. -- cgit v1.2.3