summaryrefslogtreecommitdiffstatshomepage
path: root/py/objmodule.c
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2015-01-01 20:27:54 +0000
committerDamien George <damien.p.george@gmail.com>2015-01-01 20:32:09 +0000
commit51dfcb4bb7613ed164952712d9a5235a7b833cde (patch)
treec1856c7db0ff6d5ae51190be4325804a0aad43f4 /py/objmodule.c
parentdb1ac360c39aeedd28b6ef5d653faaa14c3ce01e (diff)
downloadmicropython-51dfcb4bb7613ed164952712d9a5235a7b833cde.tar.gz
micropython-51dfcb4bb7613ed164952712d9a5235a7b833cde.zip
py: Move to guarded includes, everywhere in py/ core.
Addresses issue #1022.
Diffstat (limited to 'py/objmodule.c')
-rw-r--r--py/objmodule.c12
1 files changed, 4 insertions, 8 deletions
diff --git a/py/objmodule.c b/py/objmodule.c
index 5ffb368bf5..2e53bf0521 100644
--- a/py/objmodule.c
+++ b/py/objmodule.c
@@ -27,14 +27,10 @@
#include <stdlib.h>
#include <assert.h>
-#include "mpconfig.h"
-#include "nlr.h"
-#include "misc.h"
-#include "qstr.h"
-#include "obj.h"
-#include "objmodule.h"
-#include "runtime.h"
-#include "builtin.h"
+#include "py/nlr.h"
+#include "py/objmodule.h"
+#include "py/runtime.h"
+#include "py/builtin.h"
STATIC mp_map_t mp_loaded_modules_map; // TODO: expose as sys.modules