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().
This commit is contained in:
Paul Sokolovsky
2014-02-12 18:15:40 +02:00
parent 1d1e38d911
commit d5df6cd44a
25 changed files with 268 additions and 270 deletions

View File

@@ -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.