aboutsummaryrefslogtreecommitdiff
path: root/py/unicode.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/unicode.c
parentd5df6cd44a433d6253a61cb0f987835fbc06b2de (diff)
Replace global "static" -> "STATIC", to allow "analysis builds". Part 2.
Diffstat (limited to 'py/unicode.c')
-rw-r--r--py/unicode.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/py/unicode.c b/py/unicode.c
index 52bc9b9f6..a20527cb2 100644
--- a/py/unicode.c
+++ b/py/unicode.c
@@ -1,6 +1,7 @@
#include <stdint.h>
#include "misc.h"
+#include "mpconfig.h"
// attribute flags
#define FL_PRINT (0x01)
@@ -19,7 +20,7 @@
#define AT_LO (FL_LOWER | FL_ALPHA | FL_PRINT)
// table of attributes for ascii characters
-static const uint8_t attr[] = {
+STATIC const uint8_t attr[] = {
0, 0, 0, 0, 0, 0, 0, 0,
0, AT_SP, AT_SP, AT_SP, 0, AT_SP, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,