summaryrefslogtreecommitdiffstatshomepage
path: root/extmod/modussl_mbedtls.c
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2017-10-04 12:37:50 +1100
committerDamien George <damien.p.george@gmail.com>2017-10-04 12:37:50 +1100
commita3dc1b1957d2c96d7c60c2c629c95077b03488a1 (patch)
treebe001dc9d91c9f5a40089654279e9e422f621d4f /extmod/modussl_mbedtls.c
parent6c82cfc089466f0b3f4b61c81baee1cabece1eaa (diff)
downloadmicropython-a3dc1b1957d2c96d7c60c2c629c95077b03488a1.tar.gz
micropython-a3dc1b1957d2c96d7c60c2c629c95077b03488a1.zip
all: Remove inclusion of internal py header files.
Header files that are considered internal to the py core and should not normally be included directly are: py/nlr.h - internal nlr configuration and declarations py/bc0.h - contains bytecode macro definitions py/runtime0.h - contains basic runtime enums Instead, the top-level header files to include are one of: py/obj.h - includes runtime0.h and defines everything to use the mp_obj_t type py/runtime.h - includes mpstate.h and hence nlr.h, obj.h, runtime0.h, and defines everything to use the general runtime support functions Additional, specific headers (eg py/objlist.h) can be included if needed.
Diffstat (limited to 'extmod/modussl_mbedtls.c')
-rw-r--r--extmod/modussl_mbedtls.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/extmod/modussl_mbedtls.c b/extmod/modussl_mbedtls.c
index a65470e161..d7316cb4ae 100644
--- a/extmod/modussl_mbedtls.c
+++ b/extmod/modussl_mbedtls.c
@@ -31,10 +31,8 @@
#include <string.h>
#include <errno.h> // needed because mp_is_nonblocking_error uses system error codes
-#include "py/nlr.h"
#include "py/runtime.h"
#include "py/stream.h"
-#include "py/obj.h"
// mbedtls_time_t
#include "mbedtls/platform.h"