kopia lustrzana https://github.com/micropython/micropython
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>pull/6842/head
rodzic
7f7b4f2bc6
commit
5fdf351178
|
@ -26,6 +26,7 @@
|
|||
|
||||
#include <stdio.h>
|
||||
|
||||
#include "py/mpconfig.h"
|
||||
#include "py/gc.h"
|
||||
#include "gccollect.h"
|
||||
|
||||
|
|
4
py/gc.h
4
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.
|
||||
|
|
Ładowanie…
Reference in New Issue