mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
Merge pull request #21050 from maribu/cpu/cortexm_common/iwyu-clean
cpu/cortexm_common: Make cpu.h IWYU clean
This commit is contained in:
commit
9fd4b915c6
@ -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" {
|
||||
|
@ -24,9 +24,7 @@
|
||||
#include <assert.h>
|
||||
#include <errno.h>
|
||||
#include <stdbool.h>
|
||||
#include <string.h>
|
||||
|
||||
#include "log.h"
|
||||
#include "irq.h"
|
||||
#include "periph/gpio_ll.h"
|
||||
|
||||
@ -41,6 +39,7 @@
|
||||
#ifdef MODULE_FMT
|
||||
# include "fmt.h"
|
||||
#else
|
||||
# include <stdio.h>
|
||||
static inline void print_str(const char *str)
|
||||
{
|
||||
fputs(str, stdout);
|
||||
|
@ -30,6 +30,7 @@
|
||||
#ifdef MODULE_FMT
|
||||
# include "fmt.h"
|
||||
#else
|
||||
# include <stdio.h>
|
||||
static inline void print_str(const char *str)
|
||||
{
|
||||
fputs(str, stdout);
|
||||
|
@ -39,6 +39,7 @@
|
||||
#ifdef MODULE_FMT
|
||||
# include "fmt.h"
|
||||
#else
|
||||
# include <stdio.h>
|
||||
static inline void print_str(const char *str)
|
||||
{
|
||||
fputs(str, stdout);
|
||||
|
@ -47,6 +47,7 @@
|
||||
#ifdef MODULE_FMT
|
||||
# include "fmt.h"
|
||||
#else
|
||||
# include <stdio.h>
|
||||
static inline void print_str(const char *str)
|
||||
{
|
||||
fputs(str, stdout);
|
||||
|
@ -36,6 +36,7 @@
|
||||
#ifdef MODULE_FMT
|
||||
# include "fmt.h"
|
||||
#else
|
||||
# include <stdio.h>
|
||||
static inline void print_str(const char *str)
|
||||
{
|
||||
fputs(str, stdout);
|
||||
|
@ -6,8 +6,6 @@
|
||||
* directory for more details.
|
||||
*/
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
#include "periph/gpio_ll.h"
|
||||
|
||||
/* Optimizing for low stack usage by not using printf(), which on newlib is
|
||||
@ -21,6 +19,7 @@
|
||||
#ifdef MODULE_FMT
|
||||
# include "fmt.h"
|
||||
#else
|
||||
# include <stdio.h>
|
||||
static inline void print_str(const char *str)
|
||||
{
|
||||
fputs(str, stdout);
|
||||
|
@ -9,6 +9,8 @@
|
||||
#include "board.h"
|
||||
#include "periph/pio.h"
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
/* see blink.c */
|
||||
pio_program_t pio_blink_export_program(void);
|
||||
|
||||
|
@ -22,6 +22,8 @@
|
||||
#ifndef OPENWSN_LOG_H
|
||||
#define OPENWSN_LOG_H
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user