aboutsummaryrefslogtreecommitdiff
path: root/py/gc.h
diff options
context:
space:
mode:
authorXiang Xiao <xiaoxiang@xiaomi.com>2021-01-11 14:10:25 +0800
committerDamien George <damien@micropython.org>2021-02-04 22:37:26 +1100
commit5fdf351178df9a18df624ae0f5947d8a5a6bce40 (patch)
tree449d61a9d7a180682dfca570787f87f4eae5cad0 /py/gc.h
parent7f7b4f2bc68a06c9f47d6b99e953cac0b21c26c9 (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.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/py/gc.h b/py/gc.h
index 4690d3937..f67fb0daa 100644
--- a/py/gc.h
+++ b/py/gc.h
@@ -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.