mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-13 08:40:26 +01:00
cpu/cortexm_common: Make cpu.h IWYU clean
There is clearly no reason `cpu.h` should `#include <stdio.h>`. Also add an export pragma to `cpu_conf.h`, as portable code is expected to include `cpu.h` (which exists across MCU families in RIOT), and not `cpu_conf.h` (which only exists for some MCU families).
This commit is contained in:
parent
c507ebff43
commit
faa3727b1f
@ -30,12 +30,10 @@
|
||||
#ifndef CPU_H
|
||||
#define CPU_H
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
#include "irq.h"
|
||||
#include "sched.h"
|
||||
#include "thread.h"
|
||||
#include "cpu_conf.h"
|
||||
#include "cpu_conf.h" /* IWYU pragma: export */
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
|
Loading…
Reference in New Issue
Block a user