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/objstr.c | 19 +++++++------------ 1 file changed, 7 insertions(+), 12 deletions(-) (limited to 'py/objstr.c') diff --git a/py/objstr.c b/py/objstr.c index 3d9fd6f5e..5976e36e7 100644 --- a/py/objstr.c +++ b/py/objstr.c @@ -25,21 +25,16 @@ * THE SOFTWARE. */ -#include #include #include -#include "mpconfig.h" -#include "nlr.h" -#include "misc.h" -#include "unicode.h" -#include "qstr.h" -#include "obj.h" -#include "runtime0.h" -#include "runtime.h" -#include "pfenv.h" -#include "objstr.h" -#include "objlist.h" +#include "py/nlr.h" +#include "py/unicode.h" +#include "py/objstr.h" +#include "py/objlist.h" +#include "py/runtime0.h" +#include "py/runtime.h" +#include "py/pfenv.h" STATIC mp_obj_t str_modulo_format(mp_obj_t pattern, mp_uint_t n_args, const mp_obj_t *args, mp_obj_t dict); -- cgit v1.2.3