summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2014-06-11 19:18:03 +0100
committerDamien George <damien.p.george@gmail.com>2014-06-11 19:18:03 +0100
commit73c98d87092910b04bb026e0da69ac4f390c62e3 (patch)
treef65d604af4e25db33e41a5c9c94e140b36c49961
parent0c0f4468407ea9397d1e7e5d1d2d18acf1d07548 (diff)
downloadmicropython-73c98d87092910b04bb026e0da69ac4f390c62e3.tar.gz
micropython-73c98d87092910b04bb026e0da69ac4f390c62e3.zip
py: Fix static defn in qstr; include mpconfigport.h with "" (not <>).
-rw-r--r--py/mpconfig.h2
-rw-r--r--py/qstr.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/py/mpconfig.h b/py/mpconfig.h
index 93e98c25b6..9d0ad694e8 100644
--- a/py/mpconfig.h
+++ b/py/mpconfig.h
@@ -28,7 +28,7 @@
// You can override any of these options using mpconfigport.h file located
// in a directory of your port.
-#include <mpconfigport.h>
+#include "mpconfigport.h"
// Any options not explicitly set in mpconfigport.h will get default
// values below.
diff --git a/py/qstr.c b/py/qstr.c
index a1ee7cafd0..7ccb34f1c3 100644
--- a/py/qstr.c
+++ b/py/qstr.c
@@ -77,7 +77,7 @@ typedef struct _qstr_pool_t {
const byte *qstrs[];
} qstr_pool_t;
-const static qstr_pool_t const_pool = {
+STATIC const qstr_pool_t const_pool = {
NULL, // no previous pool
0, // no previous pool
10, // set so that the first dynamically allocated pool is twice this size; must be <= the len (just below)