From 51dfcb4bb7613ed164952712d9a5235a7b833cde Mon Sep 17 00:00:00 2001 From: Damien George Date: Thu, 1 Jan 2015 20:27:54 +0000 Subject: py: Move to guarded includes, everywhere in py/ core. Addresses issue #1022. --- py/obj.c | 18 +++++++----------- 1 file changed, 7 insertions(+), 11 deletions(-) (limited to 'py/obj.c') diff --git a/py/obj.c b/py/obj.c index d2801a396..0caf10074 100644 --- a/py/obj.c +++ b/py/obj.c @@ -29,17 +29,13 @@ #include #include -#include "mpconfig.h" -#include "nlr.h" -#include "misc.h" -#include "qstr.h" -#include "obj.h" -#include "objtype.h" -#include "mpz.h" -#include "objint.h" -#include "runtime0.h" -#include "runtime.h" -#include "stackctrl.h" +#include "py/nlr.h" +#include "py/obj.h" +#include "py/objtype.h" +#include "py/objint.h" +#include "py/runtime0.h" +#include "py/runtime.h" +#include "py/stackctrl.h" mp_obj_type_t *mp_obj_get_type(mp_const_obj_t o_in) { if (MP_OBJ_IS_SMALL_INT(o_in)) { -- cgit v1.2.3