diff options
author | Xiang Xiao <xiaoxiang@xiaomi.com> | 2021-01-11 14:10:25 +0800 |
---|---|---|
committer | Damien George <damien@micropython.org> | 2021-02-04 22:37:26 +1100 |
commit | 5fdf351178df9a18df624ae0f5947d8a5a6bce40 (patch) | |
tree | 449d61a9d7a180682dfca570787f87f4eae5cad0 /py/gc.h | |
parent | 7f7b4f2bc68a06c9f47d6b99e953cac0b21c26c9 (diff) |
py/gc: Don't include mpconfig.h and misc.h in gc.h.
Because gc.h doesn't reference any symbol from these header files.
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
Diffstat (limited to 'py/gc.h')
-rw-r--r-- | py/gc.h | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -26,11 +26,9 @@ #ifndef MICROPY_INCLUDED_PY_GC_H #define MICROPY_INCLUDED_PY_GC_H +#include <stdbool.h> #include <stdint.h> -#include "py/mpconfig.h" -#include "py/misc.h" - void gc_init(void *start, void *end); // These lock/unlock functions can be nested. |