sys_io.h: don't pull in kernel.h
Headers should only be pulling in other headers if that header needs it somewhere in its contents. Otherwise, pulling in other headers should be done by C files to avoid extremely difficult dependency loops (in this case, the main kernel.h and arch/cpu.h on ARM) Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>
This commit is contained in:
parent
43263fcf2e
commit
36adf4e432
|
@ -13,7 +13,6 @@
|
|||
extern "C" {
|
||||
#endif
|
||||
|
||||
#include <kernel.h>
|
||||
#include <zephyr/types.h>
|
||||
#include <stddef.h>
|
||||
|
||||
|
|
Loading…
Reference in a new issue