diff options
author | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2014-02-12 18:15:40 +0200 |
---|---|---|
committer | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2014-02-12 18:21:11 +0200 |
commit | d5df6cd44a433d6253a61cb0f987835fbc06b2de (patch) | |
tree | 76cdea7b7fa8c6664f711314912837861b3906e4 /py/objslice.c | |
parent | 1d1e38d91103cc9a3941a55048fc446290aca64e (diff) | |
download | micropython-d5df6cd44a433d6253a61cb0f987835fbc06b2de.tar.gz micropython-d5df6cd44a433d6253a61cb0f987835fbc06b2de.zip |
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().
Diffstat (limited to 'py/objslice.c')
-rw-r--r-- | py/objslice.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/py/objslice.c b/py/objslice.c index d5c31f4461..b62c4e09ba 100644 --- a/py/objslice.c +++ b/py/objslice.c @@ -27,7 +27,7 @@ const mp_obj_type_t ellipsis_type = { .print = ellipsis_print, }; -static const mp_obj_ellipsis_t ellipsis_obj = {{&ellipsis_type}}; +STATIC const mp_obj_ellipsis_t ellipsis_obj = {{&ellipsis_type}}; const mp_obj_t mp_const_ellipsis = (mp_obj_t)&ellipsis_obj; /******************************************************************************/ |