From 520e2f58a559c356ea540a5da4e9a585649aecc6 Mon Sep 17 00:00:00 2001 From: Paul Sokolovsky Date: Wed, 12 Feb 2014 18:31:30 +0200 Subject: Replace global "static" -> "STATIC", to allow "analysis builds". Part 2. --- py/unicode.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'py/unicode.c') 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 #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, -- cgit v1.2.3