diff --git a/cpu/atmega_common/periph/adc.c b/cpu/atmega_common/periph/adc.c index 13c6b54ca6..6585c61708 100644 --- a/cpu/atmega_common/periph/adc.c +++ b/cpu/atmega_common/periph/adc.c @@ -22,7 +22,6 @@ #include "cpu.h" #include "mutex.h" -#include "assert.h" #include "periph/adc.h" #include "periph_conf.h" diff --git a/cpu/atmega_common/periph/rtt.c b/cpu/atmega_common/periph/rtt.c index 0719117c34..ffce508d40 100644 --- a/cpu/atmega_common/periph/rtt.c +++ b/cpu/atmega_common/periph/rtt.c @@ -42,6 +42,7 @@ * @} */ +#include #include #include "byteorder.h" diff --git a/cpu/atmega_common/periph/timer.c b/cpu/atmega_common/periph/timer.c index eadfc4ddc5..1fab2f62ee 100644 --- a/cpu/atmega_common/periph/timer.c +++ b/cpu/atmega_common/periph/timer.c @@ -20,6 +20,7 @@ * @} */ +#include #include #include "board.h" diff --git a/cpu/atmega_common/periph/wdt.c b/cpu/atmega_common/periph/wdt.c index 4debf87926..5c9925dab9 100644 --- a/cpu/atmega_common/periph/wdt.c +++ b/cpu/atmega_common/periph/wdt.c @@ -19,6 +19,8 @@ * @} */ +#include + #include "cpu.h" #include "periph/pm.h" #include "periph/wdt.h" diff --git a/cpu/cc2538/cpu.c b/cpu/cc2538/cpu.c index 6011c614ab..067441b8d0 100644 --- a/cpu/cc2538/cpu.c +++ b/cpu/cc2538/cpu.c @@ -17,7 +17,6 @@ * @} */ -#include #include "stdio_base.h" #include "cpu.h" diff --git a/cpu/cc2538/periph/gpio.c b/cpu/cc2538/periph/gpio.c index 464921dcad..ebabb742cf 100644 --- a/cpu/cc2538/periph/gpio.c +++ b/cpu/cc2538/periph/gpio.c @@ -21,6 +21,7 @@ * @} */ +#include #include #include "cpu.h" diff --git a/cpu/cc2538/periph/rtt.c b/cpu/cc2538/periph/rtt.c index 98be86fa0f..6177b6dc18 100644 --- a/cpu/cc2538/periph/rtt.c +++ b/cpu/cc2538/periph/rtt.c @@ -19,6 +19,7 @@ * @} */ +#include #include #include "cpu.h" diff --git a/cpu/cc2538/periph/uart.c b/cpu/cc2538/periph/uart.c index a1c160430e..c4e894b0dd 100644 --- a/cpu/cc2538/periph/uart.c +++ b/cpu/cc2538/periph/uart.c @@ -20,6 +20,7 @@ * @} */ +#include #include #include "board.h" diff --git a/cpu/cc2538/periph/wdt.c b/cpu/cc2538/periph/wdt.c index cd46fc2b65..2e7c7edbcd 100644 --- a/cpu/cc2538/periph/wdt.c +++ b/cpu/cc2538/periph/wdt.c @@ -20,6 +20,8 @@ * @} */ +#include + #include "cc2538.h" #include "periph/wdt.h" diff --git a/cpu/cc2538/radio/cc2538_rf_radio_ops.c b/cpu/cc2538/radio/cc2538_rf_radio_ops.c index 36863ea493..cd250392db 100644 --- a/cpu/cc2538/radio/cc2538_rf_radio_ops.c +++ b/cpu/cc2538/radio/cc2538_rf_radio_ops.c @@ -19,6 +19,7 @@ * @} */ +#include #include #include diff --git a/cpu/cc26x2_cc13x2/osc.c b/cpu/cc26x2_cc13x2/osc.c index 7e79275220..c3511c9964 100644 --- a/cpu/cc26x2_cc13x2/osc.c +++ b/cpu/cc26x2_cc13x2/osc.c @@ -17,7 +17,6 @@ * @} */ -#include #include "cpu.h" static inline bool _hf_source_ready(void) diff --git a/cpu/cc26xx_cc13xx/periph/uart.c b/cpu/cc26xx_cc13xx/periph/uart.c index 12f70891f0..18965a68ad 100644 --- a/cpu/cc26xx_cc13xx/periph/uart.c +++ b/cpu/cc26xx_cc13xx/periph/uart.c @@ -22,6 +22,8 @@ * @} */ +#include + #include "cpu.h" #include "periph/uart.h" #include "periph_conf.h" diff --git a/cpu/efm32/periph/adc.c b/cpu/efm32/periph/adc.c index c743f23cca..536a063e0e 100644 --- a/cpu/efm32/periph/adc.c +++ b/cpu/efm32/periph/adc.c @@ -19,6 +19,8 @@ * @} */ +#include + #include "cpu.h" #include "mutex.h" diff --git a/cpu/efm32/periph/pwm.c b/cpu/efm32/periph/pwm.c index 70d00560f5..f8c2f2432e 100644 --- a/cpu/efm32/periph/pwm.c +++ b/cpu/efm32/periph/pwm.c @@ -17,6 +17,8 @@ * @author Bas Stottelaar */ +#include + #include "cpu.h" #include "periph_conf.h" diff --git a/cpu/efm32/periph/spi.c b/cpu/efm32/periph/spi.c index 299ad009d1..2b7ab3e7f5 100644 --- a/cpu/efm32/periph/spi.c +++ b/cpu/efm32/periph/spi.c @@ -20,6 +20,8 @@ * @} */ +#include + #include "cpu.h" #include "sched.h" #include "thread.h" diff --git a/cpu/esp32/periph/can.c b/cpu/esp32/periph/can.c index 103772896c..e3701589f5 100644 --- a/cpu/esp32/periph/can.c +++ b/cpu/esp32/periph/can.c @@ -15,6 +15,7 @@ * @{ */ +#include #include #include diff --git a/cpu/esp32/periph/gpio.c b/cpu/esp32/periph/gpio.c index 8739718a66..d8941e055f 100644 --- a/cpu/esp32/periph/gpio.c +++ b/cpu/esp32/periph/gpio.c @@ -21,6 +21,7 @@ #define ENABLE_DEBUG (0) #include "debug.h" +#include #include #include "log.h" diff --git a/cpu/esp8266/periph/pwm.c b/cpu/esp8266/periph/pwm.c index c8ff89b6b6..f70bdcef05 100644 --- a/cpu/esp8266/periph/pwm.c +++ b/cpu/esp8266/periph/pwm.c @@ -18,6 +18,8 @@ * @} */ +#include + #define ENABLE_DEBUG (0) #include "debug.h" diff --git a/cpu/esp_common/esp-now/esp_now_netdev.c b/cpu/esp_common/esp-now/esp_now_netdev.c index e988326e6c..33ac17850d 100644 --- a/cpu/esp_common/esp-now/esp_now_netdev.c +++ b/cpu/esp_common/esp-now/esp_now_netdev.c @@ -21,7 +21,6 @@ #include "tools.h" #include -#include #include #include "net/gnrc.h" diff --git a/cpu/esp_common/freertos/queue.c b/cpu/esp_common/freertos/queue.c index 53feb5b8cc..725c18a9ce 100644 --- a/cpu/esp_common/freertos/queue.c +++ b/cpu/esp_common/freertos/queue.c @@ -13,6 +13,7 @@ #define ENABLE_DEBUG (0) #include "debug.h" +#include #include #include "esp_common.h" diff --git a/cpu/esp_common/freertos/semphr.c b/cpu/esp_common/freertos/semphr.c index 8769624b88..ad27be6388 100644 --- a/cpu/esp_common/freertos/semphr.c +++ b/cpu/esp_common/freertos/semphr.c @@ -13,6 +13,7 @@ #define ENABLE_DEBUG (0) #include "debug.h" +#include #include #include "esp_common.h" diff --git a/cpu/esp_common/freertos/task.c b/cpu/esp_common/freertos/task.c index 78920c7d24..5ac936cd7b 100644 --- a/cpu/esp_common/freertos/task.c +++ b/cpu/esp_common/freertos/task.c @@ -13,6 +13,7 @@ #define ENABLE_DEBUG (0) #include "debug.h" +#include #include #include "esp_common.h" diff --git a/cpu/esp_common/freertos/timers.c b/cpu/esp_common/freertos/timers.c index b134de96c1..d49b65df90 100644 --- a/cpu/esp_common/freertos/timers.c +++ b/cpu/esp_common/freertos/timers.c @@ -13,6 +13,7 @@ #define ENABLE_DEBUG (0) #include "debug.h" +#include #include #include "esp_common.h" diff --git a/cpu/esp_common/periph/flash.c b/cpu/esp_common/periph/flash.c index 718df800aa..a34b25a90f 100644 --- a/cpu/esp_common/periph/flash.c +++ b/cpu/esp_common/periph/flash.c @@ -20,6 +20,7 @@ #if MODULE_MTD +#include #include #include #include diff --git a/cpu/esp_common/periph/spi.c b/cpu/esp_common/periph/spi.c index b450999878..8c8fbafafa 100644 --- a/cpu/esp_common/periph/spi.c +++ b/cpu/esp_common/periph/spi.c @@ -19,13 +19,14 @@ * @} */ +#include +#include + #define ENABLE_DEBUG (0) #include "debug.h" #include "esp_common.h" #include "log.h" -#include - #include "cpu.h" #include "mutex.h" #include "periph/spi.h" diff --git a/cpu/esp_common/periph/uart.c b/cpu/esp_common/periph/uart.c index de9f2556a1..059b5cdd5a 100644 --- a/cpu/esp_common/periph/uart.c +++ b/cpu/esp_common/periph/uart.c @@ -19,6 +19,8 @@ * @} */ +#include + #define ENABLE_DEBUG (0) #include "debug.h" diff --git a/cpu/esp_common/syscalls.c b/cpu/esp_common/syscalls.c index a4d44ec0b3..64d39cffb7 100644 --- a/cpu/esp_common/syscalls.c +++ b/cpu/esp_common/syscalls.c @@ -18,6 +18,7 @@ * @} */ +#include #include #include #include diff --git a/cpu/fe310/context_frame.c b/cpu/fe310/context_frame.c index c3700ebaad..68c6d553e8 100644 --- a/cpu/fe310/context_frame.c +++ b/cpu/fe310/context_frame.c @@ -18,6 +18,8 @@ * @} */ +#include + #include "context_frame.h" #include "thread.h" diff --git a/cpu/fe310/include/context_frame.h b/cpu/fe310/include/context_frame.h index 5b07458ba1..214078baa6 100644 --- a/cpu/fe310/include/context_frame.h +++ b/cpu/fe310/include/context_frame.h @@ -21,7 +21,6 @@ #if !defined(__ASSEMBLER__) #include -#include #endif /* __ASSEMBLER__ */ diff --git a/cpu/fe310/irq_arch.c b/cpu/fe310/irq_arch.c index 85bbbd0b18..f849c189de 100644 --- a/cpu/fe310/irq_arch.c +++ b/cpu/fe310/irq_arch.c @@ -18,7 +18,6 @@ */ #include -#include #include #include "macros/xtstr.h" diff --git a/cpu/fe310/periph/plic.c b/cpu/fe310/periph/plic.c index a0c94e5344..e36f7fddf3 100644 --- a/cpu/fe310/periph/plic.c +++ b/cpu/fe310/periph/plic.c @@ -17,6 +17,8 @@ * @} */ +#include + #include "vendor/encoding.h" #include "vendor/platform.h" #include "cpu.h" diff --git a/cpu/kinetis/periph/uart.c b/cpu/kinetis/periph/uart.c index f1c5edf378..d9ba1afb4f 100644 --- a/cpu/kinetis/periph/uart.c +++ b/cpu/kinetis/periph/uart.c @@ -24,6 +24,8 @@ * @} */ +#include + #include "cpu.h" #include "bit.h" #include "periph_conf.h" diff --git a/cpu/lm4f120/periph/spi.c b/cpu/lm4f120/periph/spi.c index f9e879f151..535a901773 100644 --- a/cpu/lm4f120/periph/spi.c +++ b/cpu/lm4f120/periph/spi.c @@ -17,6 +17,9 @@ * * @} */ + +#include + #include "cpu.h" #include "mutex.h" #include "periph/gpio.h" diff --git a/cpu/lpc1768/periph/gpio.c b/cpu/lpc1768/periph/gpio.c index 3ac26d15c6..ba2775eb06 100644 --- a/cpu/lpc1768/periph/gpio.c +++ b/cpu/lpc1768/periph/gpio.c @@ -18,6 +18,8 @@ * @} */ +#include + #include "cpu.h" #include "periph/gpio.h" diff --git a/cpu/lpc1768/periph/uart.c b/cpu/lpc1768/periph/uart.c index 395c9c46ae..dc9df24b22 100644 --- a/cpu/lpc1768/periph/uart.c +++ b/cpu/lpc1768/periph/uart.c @@ -18,6 +18,7 @@ * @} */ +#include #include #include "cpu.h" diff --git a/cpu/lpc23xx/mci/lpc23xx-mci.c b/cpu/lpc23xx/mci/lpc23xx-mci.c index 967b8f0363..f7c74ed375 100644 --- a/cpu/lpc23xx/mci/lpc23xx-mci.c +++ b/cpu/lpc23xx/mci/lpc23xx-mci.c @@ -12,6 +12,7 @@ / /---------------------------------------------------------------------------*/ +#include #include #include "cpu.h" #include "VIC.h" diff --git a/cpu/lpc23xx/periph/gpio.c b/cpu/lpc23xx/periph/gpio.c index 44f6e29a80..1f84b7408a 100644 --- a/cpu/lpc23xx/periph/gpio.c +++ b/cpu/lpc23xx/periph/gpio.c @@ -19,7 +19,6 @@ * @} */ -#include #include #include #include diff --git a/cpu/mips32r2_common/thread_arch.c b/cpu/mips32r2_common/thread_arch.c index 56d434e99a..449ce1e203 100644 --- a/cpu/mips32r2_common/thread_arch.c +++ b/cpu/mips32r2_common/thread_arch.c @@ -6,6 +6,8 @@ * General Public License v2.1. See the file LICENSE in the top level * directory for more details. */ + +#include #include #include #include diff --git a/cpu/mips_pic32_common/periph/timer.c b/cpu/mips_pic32_common/periph/timer.c index 5b9bd40762..316f06f568 100644 --- a/cpu/mips_pic32_common/periph/timer.c +++ b/cpu/mips_pic32_common/periph/timer.c @@ -17,6 +17,7 @@ * @} */ +#include #include #include #include diff --git a/cpu/msp430_common/periph/flashpage.c b/cpu/msp430_common/periph/flashpage.c index 8a5b2fa5b6..4eaffe13bf 100644 --- a/cpu/msp430_common/periph/flashpage.c +++ b/cpu/msp430_common/periph/flashpage.c @@ -20,6 +20,8 @@ * @} */ +#include + #include "cpu.h" #include "irq.h" #include "periph/flashpage.h" diff --git a/cpu/native/mtd/mtd_native.c b/cpu/native/mtd/mtd_native.c index 1abdd0b4bc..a9a1442dd4 100644 --- a/cpu/native/mtd/mtd_native.c +++ b/cpu/native/mtd/mtd_native.c @@ -16,7 +16,6 @@ */ #include -#include #include #include diff --git a/cpu/native/periph/pwm.c b/cpu/native/periph/pwm.c index d0d936d723..a57f35754e 100644 --- a/cpu/native/periph/pwm.c +++ b/cpu/native/periph/pwm.c @@ -18,6 +18,7 @@ * @} */ +#include #include #include "periph/pwm.h" diff --git a/cpu/nrf51/periph/pwm.c b/cpu/nrf51/periph/pwm.c index d6ffc9f2d0..90741e8483 100644 --- a/cpu/nrf51/periph/pwm.c +++ b/cpu/nrf51/periph/pwm.c @@ -18,6 +18,7 @@ * @} */ +#include #include #include #include diff --git a/cpu/nrf52/periph/adc.c b/cpu/nrf52/periph/adc.c index 4559c351f6..658c522141 100644 --- a/cpu/nrf52/periph/adc.c +++ b/cpu/nrf52/periph/adc.c @@ -20,6 +20,8 @@ * @} */ +#include + #include "cpu.h" #include "mutex.h" #include "periph/adc.h" diff --git a/cpu/nrf52/periph/usbdev.c b/cpu/nrf52/periph/usbdev.c index ec43b6c694..d7798b085b 100644 --- a/cpu/nrf52/periph/usbdev.c +++ b/cpu/nrf52/periph/usbdev.c @@ -22,6 +22,7 @@ #define USB_H_USER_IS_RIOT_INTERNAL +#include #include #include #include diff --git a/cpu/nrf52/radio/nrf802154/nrf802154.c b/cpu/nrf52/radio/nrf802154/nrf802154.c index cbfeb9f69a..42455816ba 100644 --- a/cpu/nrf52/radio/nrf802154/nrf802154.c +++ b/cpu/nrf52/radio/nrf802154/nrf802154.c @@ -21,6 +21,7 @@ * @} */ +#include #include #include diff --git a/cpu/nrf52/radio/nrf802154/nrf802154_radio.c b/cpu/nrf52/radio/nrf802154/nrf802154_radio.c index 2424e1b54e..60bb14b6b8 100644 --- a/cpu/nrf52/radio/nrf802154/nrf802154_radio.c +++ b/cpu/nrf52/radio/nrf802154/nrf802154_radio.c @@ -16,6 +16,8 @@ * @author José I. Alamos * @} */ + +#include #include #include diff --git a/cpu/nrf52/spi_twi_irq.c b/cpu/nrf52/spi_twi_irq.c index eb32412741..73fa24751d 100644 --- a/cpu/nrf52/spi_twi_irq.c +++ b/cpu/nrf52/spi_twi_irq.c @@ -20,6 +20,9 @@ * * @} */ + +#include + #include "cpu.h" #include "periph_cpu.h" diff --git a/cpu/nrf5x_common/periph/gpio.c b/cpu/nrf5x_common/periph/gpio.c index 5aa017051e..dc91a1241e 100644 --- a/cpu/nrf5x_common/periph/gpio.c +++ b/cpu/nrf5x_common/periph/gpio.c @@ -28,6 +28,8 @@ * @} */ +#include + #include "cpu.h" #include "periph/gpio.h" #include "periph_cpu.h" diff --git a/cpu/nrf5x_common/periph/uart.c b/cpu/nrf5x_common/periph/uart.c index 878c49154b..9f798ccaff 100644 --- a/cpu/nrf5x_common/periph/uart.c +++ b/cpu/nrf5x_common/periph/uart.c @@ -28,6 +28,7 @@ * @} */ +#include #include #include diff --git a/cpu/nrf5x_common/periph/wdt.c b/cpu/nrf5x_common/periph/wdt.c index aa34e505c7..834ad95a65 100644 --- a/cpu/nrf5x_common/periph/wdt.c +++ b/cpu/nrf5x_common/periph/wdt.c @@ -19,6 +19,8 @@ * @} */ +#include + #include "cpu.h" #include "timex.h" #include "periph/wdt.h" diff --git a/cpu/nrf5x_common/radio/nrfmin/nrfmin_gnrc.c b/cpu/nrf5x_common/radio/nrfmin/nrfmin_gnrc.c index 329df1816b..8390f2f8a4 100644 --- a/cpu/nrf5x_common/radio/nrfmin/nrfmin_gnrc.c +++ b/cpu/nrf5x_common/radio/nrfmin/nrfmin_gnrc.c @@ -18,6 +18,8 @@ * @} */ +#include + #include "net/gnrc.h" #include "thread.h" #include "net/gnrc/netif.h" diff --git a/cpu/sam0_common/periph/dac.c b/cpu/sam0_common/periph/dac.c index 92e7aa9c35..b333acc601 100644 --- a/cpu/sam0_common/periph/dac.c +++ b/cpu/sam0_common/periph/dac.c @@ -18,6 +18,8 @@ * @} */ +#include + #include "cpu.h" #include "periph/dac.h" #include "periph/gpio.h" diff --git a/cpu/sam0_common/periph/dma.c b/cpu/sam0_common/periph/dma.c index 69966cc962..b95fda53e9 100644 --- a/cpu/sam0_common/periph/dma.c +++ b/cpu/sam0_common/periph/dma.c @@ -21,7 +21,6 @@ #include "periph_cpu.h" #include "periph_conf.h" #include "mutex.h" -#include "assert.h" #include "bitarithm.h" #include "pm_layered.h" #include "thread_flags.h" diff --git a/cpu/sam0_common/periph/pwm.c b/cpu/sam0_common/periph/pwm.c index dec6ebe691..eb707776cd 100644 --- a/cpu/sam0_common/periph/pwm.c +++ b/cpu/sam0_common/periph/pwm.c @@ -22,6 +22,8 @@ * @} */ +#include + #include "cpu.h" #include "board.h" #include "periph/gpio.h" diff --git a/cpu/sam0_common/periph/timer.c b/cpu/sam0_common/periph/timer.c index fe9dc8f60e..a156e2ccbd 100644 --- a/cpu/sam0_common/periph/timer.c +++ b/cpu/sam0_common/periph/timer.c @@ -20,6 +20,7 @@ * @} */ +#include #include #include diff --git a/cpu/sam0_common/periph/usbdev.c b/cpu/sam0_common/periph/usbdev.c index 68f04689ee..5c1d6c1a71 100644 --- a/cpu/sam0_common/periph/usbdev.c +++ b/cpu/sam0_common/periph/usbdev.c @@ -18,6 +18,7 @@ #define USB_H_USER_IS_RIOT_INTERNAL +#include #include #include #include diff --git a/cpu/sam3/periph/adc.c b/cpu/sam3/periph/adc.c index 7cd58b652e..76ffc119bc 100644 --- a/cpu/sam3/periph/adc.c +++ b/cpu/sam3/periph/adc.c @@ -18,6 +18,7 @@ * @} */ +#include #include diff --git a/cpu/samd5x/cpu.c b/cpu/samd5x/cpu.c index 1eefed9b4b..c14d6d90bb 100644 --- a/cpu/samd5x/cpu.c +++ b/cpu/samd5x/cpu.c @@ -17,6 +17,8 @@ * @} */ +#include + #include "cpu.h" #include "macros/units.h" #include "periph_conf.h" diff --git a/cpu/saml21/cpu.c b/cpu/saml21/cpu.c index 4f9a904689..bf407e9176 100644 --- a/cpu/saml21/cpu.c +++ b/cpu/saml21/cpu.c @@ -18,6 +18,8 @@ * @} */ +#include + #include "cpu.h" #include "periph/init.h" #include "periph_conf.h" diff --git a/cpu/stm32/periph/can.c b/cpu/stm32/periph/can.c index 41ca14a2ea..5b296088a7 100644 --- a/cpu/stm32/periph/can.c +++ b/cpu/stm32/periph/can.c @@ -17,6 +17,7 @@ * @} */ +#include #include #include #include diff --git a/cpu/stm32/periph/eth.c b/cpu/stm32/periph/eth.c index c5d0f8bdcd..2f8b1da536 100644 --- a/cpu/stm32/periph/eth.c +++ b/cpu/stm32/periph/eth.c @@ -19,6 +19,8 @@ * * @} */ + +#include #include #include diff --git a/cpu/stm32/periph/rtt_all.c b/cpu/stm32/periph/rtt_all.c index 375d7bc562..1b62bdfd6f 100644 --- a/cpu/stm32/periph/rtt_all.c +++ b/cpu/stm32/periph/rtt_all.c @@ -19,6 +19,8 @@ * @} */ +#include + #include "cpu.h" #include "irq.h" #include "periph/rtt.h" diff --git a/cpu/stm32/periph/usbdev.c b/cpu/stm32/periph/usbdev.c index b3f5ecfb00..1e12802150 100644 --- a/cpu/stm32/periph/usbdev.c +++ b/cpu/stm32/periph/usbdev.c @@ -18,6 +18,7 @@ #define USB_H_USER_IS_RIOT_INTERNAL +#include #include #include #include diff --git a/drivers/ad7746/ad7746.c b/drivers/ad7746/ad7746.c index 45f3c8c69b..e023b46f71 100644 --- a/drivers/ad7746/ad7746.c +++ b/drivers/ad7746/ad7746.c @@ -18,6 +18,8 @@ * @} */ +#include + #include "ad7746.h" #include "ad7746_params.h" #include "ad7746_internal.h" diff --git a/drivers/adcxx1c/adcxx1c.c b/drivers/adcxx1c/adcxx1c.c index 005fc0f554..fb84e96e52 100644 --- a/drivers/adcxx1c/adcxx1c.c +++ b/drivers/adcxx1c/adcxx1c.c @@ -17,6 +17,8 @@ * @} */ +#include + #include "adcxx1c.h" #include "adcxx1c_params.h" #include "adcxx1c_regs.h" diff --git a/drivers/aip31068/aip31068.c b/drivers/aip31068/aip31068.c index 305f794097..4290643f1d 100644 --- a/drivers/aip31068/aip31068.c +++ b/drivers/aip31068/aip31068.c @@ -14,6 +14,7 @@ * @{ */ +#include #include #include "xtimer.h" diff --git a/drivers/apds99xx/apds99xx.c b/drivers/apds99xx/apds99xx.c index d2a5b6227c..76cf910400 100644 --- a/drivers/apds99xx/apds99xx.c +++ b/drivers/apds99xx/apds99xx.c @@ -15,6 +15,7 @@ * @} */ +#include #include #include diff --git a/drivers/at/at.c b/drivers/at/at.c index 6cc8b59af7..1799b93e09 100644 --- a/drivers/at/at.c +++ b/drivers/at/at.c @@ -6,6 +6,7 @@ * directory for more details. */ +#include #include #include diff --git a/drivers/at25xxx/at25xxx.c b/drivers/at25xxx/at25xxx.c index 149bf9f66c..486cead8c3 100644 --- a/drivers/at25xxx/at25xxx.c +++ b/drivers/at25xxx/at25xxx.c @@ -19,6 +19,7 @@ * @} */ +#include #include #include #include diff --git a/drivers/at86rf2xx/aes_spi.c b/drivers/at86rf2xx/aes_spi.c index d97f0e9706..6c6998ca5d 100644 --- a/drivers/at86rf2xx/aes_spi.c +++ b/drivers/at86rf2xx/aes_spi.c @@ -16,6 +16,8 @@ * @} */ +#include + #include "xtimer.h" #include "periph/spi.h" #include "at86rf2xx_aes.h" diff --git a/drivers/atwinc15x0/atwinc15x0_bsp.c b/drivers/atwinc15x0/atwinc15x0_bsp.c index 9c61e94eac..9c0cac328e 100644 --- a/drivers/atwinc15x0/atwinc15x0_bsp.c +++ b/drivers/atwinc15x0/atwinc15x0_bsp.c @@ -18,6 +18,8 @@ * @} */ +#include + #include "atwinc15x0_internal.h" #include "mutex.h" #include "periph/spi.h" diff --git a/drivers/atwinc15x0/atwinc15x0_bus.c b/drivers/atwinc15x0/atwinc15x0_bus.c index 86b4185057..81cf3086b6 100644 --- a/drivers/atwinc15x0/atwinc15x0_bus.c +++ b/drivers/atwinc15x0/atwinc15x0_bus.c @@ -18,6 +18,8 @@ * @} */ +#include + #include "atwinc15x0_internal.h" #include "bus_wrapper/include/nm_bus_wrapper.h" diff --git a/drivers/bme680/bme680.c b/drivers/bme680/bme680.c index 8ab50f8b13..7a34ad7070 100644 --- a/drivers/bme680/bme680.c +++ b/drivers/bme680/bme680.c @@ -18,6 +18,8 @@ * @} */ +#include + #include "bme680.h" #include "bme680_hal.h" #include "bme680_params.h" diff --git a/drivers/ccs811/ccs811.c b/drivers/ccs811/ccs811.c index 4d65306fa7..c556f0d976 100644 --- a/drivers/ccs811/ccs811.c +++ b/drivers/ccs811/ccs811.c @@ -13,6 +13,7 @@ * @file */ +#include #include #include #include diff --git a/drivers/dfplayer/dfplayer.c b/drivers/dfplayer/dfplayer.c index fd4e345580..ea191ddf6c 100644 --- a/drivers/dfplayer/dfplayer.c +++ b/drivers/dfplayer/dfplayer.c @@ -16,7 +16,7 @@ * * @} */ -#include + #include #include #include diff --git a/drivers/dose/dose.c b/drivers/dose/dose.c index c277bc8d76..9bbb95a253 100644 --- a/drivers/dose/dose.c +++ b/drivers/dose/dose.c @@ -18,6 +18,7 @@ * @} */ +#include #include #include "dose.h" diff --git a/drivers/encx24j600/encx24j600.c b/drivers/encx24j600/encx24j600.c index 0e158a39f6..8a2e500ca3 100644 --- a/drivers/encx24j600/encx24j600.c +++ b/drivers/encx24j600/encx24j600.c @@ -19,7 +19,6 @@ * @} */ -#include #include #include "mutex.h" diff --git a/drivers/hd44780/hd44780.c b/drivers/hd44780/hd44780.c index 929232d627..db935216e5 100644 --- a/drivers/hd44780/hd44780.c +++ b/drivers/hd44780/hd44780.c @@ -20,7 +20,6 @@ * @} */ -#include #include #include "log.h" diff --git a/drivers/hmc5883l/hmc5883l.c b/drivers/hmc5883l/hmc5883l.c index 63780fc6d2..91272b8758 100644 --- a/drivers/hmc5883l/hmc5883l.c +++ b/drivers/hmc5883l/hmc5883l.c @@ -14,6 +14,7 @@ * @{ */ +#include #include #include diff --git a/drivers/hts221/hts221.c b/drivers/hts221/hts221.c index a22e057ba9..f8ec4631a7 100644 --- a/drivers/hts221/hts221.c +++ b/drivers/hts221/hts221.c @@ -22,7 +22,6 @@ #include #include -#include "assert.h" #include "hts221.h" #include "periph/i2c.h" #include "xtimer.h" diff --git a/drivers/include/periph/pm.h b/drivers/include/periph/pm.h index 6533a0f1c2..bcee40fd74 100644 --- a/drivers/include/periph/pm.h +++ b/drivers/include/periph/pm.h @@ -24,7 +24,6 @@ #ifndef PERIPH_PM_H #define PERIPH_PM_H -#include "assert.h" #include "periph_cpu.h" #ifdef MODULE_PM_LAYERED diff --git a/drivers/itg320x/itg320x.c b/drivers/itg320x/itg320x.c index 76c3ffa825..a5732cbf28 100644 --- a/drivers/itg320x/itg320x.c +++ b/drivers/itg320x/itg320x.c @@ -14,6 +14,7 @@ * @{ */ +#include #include #include #include diff --git a/drivers/kw41zrf/kw41zrf_getset.c b/drivers/kw41zrf/kw41zrf_getset.c index a1343e909c..a5313f95cc 100644 --- a/drivers/kw41zrf/kw41zrf_getset.c +++ b/drivers/kw41zrf/kw41zrf_getset.c @@ -16,6 +16,7 @@ * @} */ +#include #include #include #include "log.h" diff --git a/drivers/kw41zrf/kw41zrf_intern.c b/drivers/kw41zrf/kw41zrf_intern.c index 7ccbacb0eb..1fdb568fd4 100644 --- a/drivers/kw41zrf/kw41zrf_intern.c +++ b/drivers/kw41zrf/kw41zrf_intern.c @@ -16,6 +16,7 @@ * @} */ +#include #include "log.h" #include "irq.h" #include "panic.h" diff --git a/drivers/lsm6dsl/lsm6dsl.c b/drivers/lsm6dsl/lsm6dsl.c index 2d02e172cc..f11899a6c7 100644 --- a/drivers/lsm6dsl/lsm6dsl.c +++ b/drivers/lsm6dsl/lsm6dsl.c @@ -20,6 +20,8 @@ * @} */ +#include + #include "xtimer.h" #include "lsm6dsl.h" diff --git a/drivers/mag3110/mag3110.c b/drivers/mag3110/mag3110.c index 6c57d10d72..58291c401f 100644 --- a/drivers/mag3110/mag3110.c +++ b/drivers/mag3110/mag3110.c @@ -22,6 +22,7 @@ * @} */ +#include #include #include #include diff --git a/drivers/mpl3115a2/mpl3115a2.c b/drivers/mpl3115a2/mpl3115a2.c index 79e2a7381e..2cb46d05d3 100644 --- a/drivers/mpl3115a2/mpl3115a2.c +++ b/drivers/mpl3115a2/mpl3115a2.c @@ -22,6 +22,7 @@ * @} */ +#include #include #include #include diff --git a/drivers/mtd_mapper/mtd_mapper.c b/drivers/mtd_mapper/mtd_mapper.c index 6720f16ea7..bdf97c2aa4 100644 --- a/drivers/mtd_mapper/mtd_mapper.c +++ b/drivers/mtd_mapper/mtd_mapper.c @@ -18,6 +18,7 @@ * @} */ +#include #include #include diff --git a/drivers/opt3001/opt3001.c b/drivers/opt3001/opt3001.c index ae64373455..fe2dfbaf0b 100644 --- a/drivers/opt3001/opt3001.c +++ b/drivers/opt3001/opt3001.c @@ -19,6 +19,8 @@ * @} */ +#include + #include "opt3001.h" #include "opt3001_regs.h" #include "periph/i2c.h" diff --git a/drivers/pca9633/pca9633.c b/drivers/pca9633/pca9633.c index 68e2b21e91..ded32d3bba 100644 --- a/drivers/pca9633/pca9633.c +++ b/drivers/pca9633/pca9633.c @@ -14,6 +14,7 @@ * @{ */ +#include #include #include "pca9633.h" diff --git a/drivers/pca9685/pca9685.c b/drivers/pca9685/pca9685.c index 6bdaeac6cf..7a50571b0b 100644 --- a/drivers/pca9685/pca9685.c +++ b/drivers/pca9685/pca9685.c @@ -14,6 +14,7 @@ * @{ */ +#include #include #include #include diff --git a/drivers/rn2xx3/rn2xx3_getset.c b/drivers/rn2xx3/rn2xx3_getset.c index 1785dfa805..9f09cb8f96 100644 --- a/drivers/rn2xx3/rn2xx3_getset.c +++ b/drivers/rn2xx3/rn2xx3_getset.c @@ -19,7 +19,6 @@ #include #include -#include "assert.h" #include "fmt.h" #include "net/loramac.h" diff --git a/drivers/saul/init_devs/auto_init_tsl4531x.c b/drivers/saul/init_devs/auto_init_tsl4531x.c index 8416f3f544..b71bf42cc7 100644 --- a/drivers/saul/init_devs/auto_init_tsl4531x.c +++ b/drivers/saul/init_devs/auto_init_tsl4531x.c @@ -22,6 +22,8 @@ * @} */ +#include + #include "log.h" #include "saul_reg.h" #include "tsl4531x.h" diff --git a/drivers/seesaw_soil/seesaw_soil.c b/drivers/seesaw_soil/seesaw_soil.c index d867a69091..f9419420c7 100644 --- a/drivers/seesaw_soil/seesaw_soil.c +++ b/drivers/seesaw_soil/seesaw_soil.c @@ -21,7 +21,6 @@ #include -#include "assert.h" #include "byteorder.h" #include "xtimer.h" #include "periph/i2c.h" diff --git a/drivers/sht3x/sht3x.c b/drivers/sht3x/sht3x.c index 8e2402b761..49e54ef0a8 100644 --- a/drivers/sht3x/sht3x.c +++ b/drivers/sht3x/sht3x.c @@ -17,6 +17,7 @@ #include "debug.h" #include "log.h" +#include #include #include diff --git a/drivers/slipdev/slipdev.c b/drivers/slipdev/slipdev.c index d4910f10e9..63c6c9e8ab 100644 --- a/drivers/slipdev/slipdev.c +++ b/drivers/slipdev/slipdev.c @@ -13,6 +13,7 @@ * @author Martine Lenders */ +#include #include #include #include diff --git a/drivers/soft_uart/include/soft_uart_params.h b/drivers/soft_uart/include/soft_uart_params.h index 2134a445ec..785e2a717f 100644 --- a/drivers/soft_uart/include/soft_uart_params.h +++ b/drivers/soft_uart/include/soft_uart_params.h @@ -21,6 +21,7 @@ #include "soft_uart.h" #include "macros/units.h" +#include "kernel_defines.h" #ifdef __cplusplus extern "C" { diff --git a/drivers/soft_uart/soft_uart.c b/drivers/soft_uart/soft_uart.c index 6a6c14c13c..52fe01787a 100644 --- a/drivers/soft_uart/soft_uart.c +++ b/drivers/soft_uart/soft_uart.c @@ -17,7 +17,6 @@ */ #include -#include #include "mutex.h" #include "soft_uart.h" diff --git a/drivers/sps30/sps30.c b/drivers/sps30/sps30.c index 1dbbe88c30..2c2038f57e 100644 --- a/drivers/sps30/sps30.c +++ b/drivers/sps30/sps30.c @@ -15,6 +15,7 @@ #define LOG_LEVEL LOG_DEBUG #include "log.h" +#include #include #include diff --git a/drivers/sx127x/sx127x.c b/drivers/sx127x/sx127x.c index d732f9f553..814f4ab3db 100644 --- a/drivers/sx127x/sx127x.c +++ b/drivers/sx127x/sx127x.c @@ -19,6 +19,8 @@ * @author Alexandre Abadie * @} */ + +#include #include #include #include diff --git a/drivers/sx127x/sx127x_netdev.c b/drivers/sx127x/sx127x_netdev.c index c9fb2f085d..a4b0c0fedf 100644 --- a/drivers/sx127x/sx127x_netdev.c +++ b/drivers/sx127x/sx127x_netdev.c @@ -17,6 +17,7 @@ * @} */ +#include #include #include #include diff --git a/drivers/tmp00x/tmp00x.c b/drivers/tmp00x/tmp00x.c index 6be6b2ddef..ae688ae5d5 100644 --- a/drivers/tmp00x/tmp00x.c +++ b/drivers/tmp00x/tmp00x.c @@ -23,6 +23,7 @@ * @} */ +#include #include #include #include diff --git a/drivers/tsl4531x/tsl4531x.c b/drivers/tsl4531x/tsl4531x.c index 13bdaf1f75..f9a3abdcd9 100644 --- a/drivers/tsl4531x/tsl4531x.c +++ b/drivers/tsl4531x/tsl4531x.c @@ -23,6 +23,7 @@ * @} */ +#include #include #include "log.h" diff --git a/drivers/ws281x/ws281x.c b/drivers/ws281x/ws281x.c index ef388bc5ea..d8fcff66e8 100644 --- a/drivers/ws281x/ws281x.c +++ b/drivers/ws281x/ws281x.c @@ -18,7 +18,7 @@ * * @} */ -#include + #include #include #include diff --git a/examples/dtls-echo/dtls-client.c b/examples/dtls-echo/dtls-client.c index b90b9e44f2..c716e2d3d3 100644 --- a/examples/dtls-echo/dtls-client.c +++ b/examples/dtls-echo/dtls-client.c @@ -21,6 +21,7 @@ * @} */ +#include #include #include diff --git a/examples/dtls-echo/dtls-server.c b/examples/dtls-echo/dtls-server.c index f527149b40..9af3b266a3 100644 --- a/examples/dtls-echo/dtls-server.c +++ b/examples/dtls-echo/dtls-server.c @@ -22,6 +22,7 @@ * @} */ +#include #include #include diff --git a/examples/nimble_gatt/main.c b/examples/nimble_gatt/main.c index 78b0ac7fb4..fdefbb1cc3 100644 --- a/examples/nimble_gatt/main.c +++ b/examples/nimble_gatt/main.c @@ -31,6 +31,7 @@ * @} */ +#include #include #include #include diff --git a/pkg/driver_bme680/contrib/bme680_hal.c b/pkg/driver_bme680/contrib/bme680_hal.c index 01af5a5d2a..1b6c9c1bd3 100644 --- a/pkg/driver_bme680/contrib/bme680_hal.c +++ b/pkg/driver_bme680/contrib/bme680_hal.c @@ -19,6 +19,7 @@ * @author Gunar Schorcht */ +#include #include #include diff --git a/pkg/fatfs/fatfs_diskio/mtd/mtd_diskio.c b/pkg/fatfs/fatfs_diskio/mtd/mtd_diskio.c index 687f71aa1e..52b1fd8862 100644 --- a/pkg/fatfs/fatfs_diskio/mtd/mtd_diskio.c +++ b/pkg/fatfs/fatfs_diskio/mtd/mtd_diskio.c @@ -18,6 +18,7 @@ * * @} */ + #include "fatfs/diskio.h" /**< FatFs lower layer API */ #include "fatfs_diskio_mtd.h" #include "fatfs/ffconf.h" diff --git a/pkg/lwip/contrib/sock/ip/lwip_sock_ip.c b/pkg/lwip/contrib/sock/ip/lwip_sock_ip.c index 47d8531b12..d75fdc72f7 100644 --- a/pkg/lwip/contrib/sock/ip/lwip_sock_ip.c +++ b/pkg/lwip/contrib/sock/ip/lwip_sock_ip.c @@ -13,6 +13,7 @@ * @author Martine Lenders */ +#include #include #include "net/ipv4/addr.h" diff --git a/pkg/lwip/contrib/sock/lwip_sock.c b/pkg/lwip/contrib/sock/lwip_sock.c index 12014a0258..4679bad392 100644 --- a/pkg/lwip/contrib/sock/lwip_sock.c +++ b/pkg/lwip/contrib/sock/lwip_sock.c @@ -340,6 +340,7 @@ static int _create(int type, int proto, uint16_t flags, struct netconn **out) return 0; } +#include #include int lwip_sock_create(struct netconn **conn, const struct _sock_tl_ep *local, diff --git a/pkg/lwip/contrib/sock/tcp/lwip_sock_tcp.c b/pkg/lwip/contrib/sock/tcp/lwip_sock_tcp.c index c9764f25d8..66ddd1728a 100644 --- a/pkg/lwip/contrib/sock/tcp/lwip_sock_tcp.c +++ b/pkg/lwip/contrib/sock/tcp/lwip_sock_tcp.c @@ -13,6 +13,8 @@ * @author Martine Lenders */ +#include + #include "mutex.h" #include "net/sock/tcp.h" diff --git a/pkg/lwip/contrib/sock/udp/lwip_sock_udp.c b/pkg/lwip/contrib/sock/udp/lwip_sock_udp.c index fb549b8736..ead05d2e7b 100644 --- a/pkg/lwip/contrib/sock/udp/lwip_sock_udp.c +++ b/pkg/lwip/contrib/sock/udp/lwip_sock_udp.c @@ -13,6 +13,7 @@ * @author Martine Lenders */ +#include #include #include "net/ipv4/addr.h" diff --git a/pkg/lwip/include/arch/cc.h b/pkg/lwip/include/arch/cc.h index 4f24c564aa..5d64b120ff 100644 --- a/pkg/lwip/include/arch/cc.h +++ b/pkg/lwip/include/arch/cc.h @@ -20,7 +20,6 @@ #ifndef ARCH_CC_H #define ARCH_CC_H -#include #include #include #include diff --git a/pkg/nimble/contrib/nimble_riot.c b/pkg/nimble/contrib/nimble_riot.c index b7cc31ca7a..8f2239019f 100644 --- a/pkg/nimble/contrib/nimble_riot.c +++ b/pkg/nimble/contrib/nimble_riot.c @@ -18,6 +18,8 @@ * @} */ +#include + #include "thread.h" #include "nimble_riot.h" diff --git a/pkg/nimble/netif/nimble_netif_conn.c b/pkg/nimble/netif/nimble_netif_conn.c index 1c7e5bdf08..9cf6603c32 100644 --- a/pkg/nimble/netif/nimble_netif_conn.c +++ b/pkg/nimble/netif/nimble_netif_conn.c @@ -18,6 +18,8 @@ * @} */ +#include + #include "nimble_netif_conn.h" #define ENABLE_DEBUG (0) diff --git a/pkg/nimble/scanlist/nimble_scanlist.c b/pkg/nimble/scanlist/nimble_scanlist.c index 7854ea0bff..0ef5699d3f 100644 --- a/pkg/nimble/scanlist/nimble_scanlist.c +++ b/pkg/nimble/scanlist/nimble_scanlist.c @@ -17,6 +17,8 @@ * * @} */ + +#include #include #include "xtimer.h" diff --git a/pkg/nimble/scanlist/nimble_scanlist_print.c b/pkg/nimble/scanlist/nimble_scanlist_print.c index 2cf03d3459..488569b28c 100644 --- a/pkg/nimble/scanlist/nimble_scanlist_print.c +++ b/pkg/nimble/scanlist/nimble_scanlist_print.c @@ -19,6 +19,8 @@ * @} */ +#include + #include "net/bluetil/ad.h" #include "nimble_scanlist.h" #include "nimble/hci_common.h" diff --git a/pkg/nimble/scanner/nimble_scanner.c b/pkg/nimble/scanner/nimble_scanner.c index b29b8beb45..956abf57ec 100644 --- a/pkg/nimble/scanner/nimble_scanner.c +++ b/pkg/nimble/scanner/nimble_scanner.c @@ -18,6 +18,7 @@ * @} */ +#include #include #include "nimble_riot.h" diff --git a/pkg/nordic_softdevice_ble/src/ble-mac.c b/pkg/nordic_softdevice_ble/src/ble-mac.c index 025231b225..188e146817 100644 --- a/pkg/nordic_softdevice_ble/src/ble-mac.c +++ b/pkg/nordic_softdevice_ble/src/ble-mac.c @@ -28,6 +28,7 @@ * */ +#include #include #include diff --git a/pkg/openthread/contrib/netdev/openthread_netdev.c b/pkg/openthread/contrib/netdev/openthread_netdev.c index 9058c6f0f0..4f5e4d5f35 100644 --- a/pkg/openthread/contrib/netdev/openthread_netdev.c +++ b/pkg/openthread/contrib/netdev/openthread_netdev.c @@ -17,7 +17,6 @@ * @} */ -#include #include #include #include "msg.h" diff --git a/pkg/openthread/contrib/openthread.c b/pkg/openthread/contrib/openthread.c index 3dc83fea79..2939632b96 100644 --- a/pkg/openthread/contrib/openthread.c +++ b/pkg/openthread/contrib/openthread.c @@ -16,8 +16,6 @@ * @} */ -#include - #include "openthread/platform/alarm-milli.h" #include "openthread/platform/uart.h" #include "ot.h" diff --git a/pkg/openthread/contrib/platform_radio.c b/pkg/openthread/contrib/platform_radio.c index 93724d0794..907087a1af 100644 --- a/pkg/openthread/contrib/platform_radio.c +++ b/pkg/openthread/contrib/platform_radio.c @@ -16,7 +16,6 @@ * @} */ -#include #include #include diff --git a/pkg/openthread/contrib/platform_settings.c b/pkg/openthread/contrib/platform_settings.c index 4ee0f5394e..63292dee8e 100644 --- a/pkg/openthread/contrib/platform_settings.c +++ b/pkg/openthread/contrib/platform_settings.c @@ -16,7 +16,6 @@ * @} */ -#include "assert.h" #include "openthread/error.h" #include "openthread/instance.h" diff --git a/pkg/openwsn/contrib/radio.c b/pkg/openwsn/contrib/radio.c index fad125de3a..d2dad94171 100644 --- a/pkg/openwsn/contrib/radio.c +++ b/pkg/openwsn/contrib/radio.c @@ -19,6 +19,8 @@ * @author Francisco Molina * @} */ + +#include #include #include "leds.h" diff --git a/pkg/paho-mqtt/contrib/riot_iface.c b/pkg/paho-mqtt/contrib/riot_iface.c index f6467b2d7f..9fdf737edf 100644 --- a/pkg/paho-mqtt/contrib/riot_iface.c +++ b/pkg/paho-mqtt/contrib/riot_iface.c @@ -11,6 +11,8 @@ * * @author Javier FILEIV */ + +#include #include #include diff --git a/pkg/spiffs/fs/spiffs_fs.c b/pkg/spiffs/fs/spiffs_fs.c index 72568741f8..42c9bdee55 100644 --- a/pkg/spiffs/fs/spiffs_fs.c +++ b/pkg/spiffs/fs/spiffs_fs.c @@ -19,6 +19,7 @@ */ +#include #include #include #include diff --git a/pkg/tinydtls/contrib/sock_dtls.c b/pkg/tinydtls/contrib/sock_dtls.c index 8647a73cc4..29dba53552 100644 --- a/pkg/tinydtls/contrib/sock_dtls.c +++ b/pkg/tinydtls/contrib/sock_dtls.c @@ -16,6 +16,8 @@ * @author Leandro Lanzieri */ +#include + #include "dtls.h" #include "log.h" #include "net/sock/dtls.h" diff --git a/pkg/ucglib/contrib/ucg_riotos.c b/pkg/ucglib/contrib/ucg_riotos.c index a5f0acd973..b3f3f617fa 100644 --- a/pkg/ucglib/contrib/ucg_riotos.c +++ b/pkg/ucglib/contrib/ucg_riotos.c @@ -18,6 +18,7 @@ * @} */ +#include #include #include "ucg_riotos.h" diff --git a/sys/auto_init/multimedia/auto_init_dfplayer.c b/sys/auto_init/multimedia/auto_init_dfplayer.c index 60c7a5e424..4b12190c84 100644 --- a/sys/auto_init/multimedia/auto_init_dfplayer.c +++ b/sys/auto_init/multimedia/auto_init_dfplayer.c @@ -22,7 +22,6 @@ #ifdef MODULE_DFPLAYER #include "log.h" -#include "assert.h" #include "dfplayer.h" #include "dfplayer_params.h" diff --git a/sys/auto_init/usb/auto_init_usb.c b/sys/auto_init/usb/auto_init_usb.c index dfcabbd5d3..176aa8819c 100644 --- a/sys/auto_init/usb/auto_init_usb.c +++ b/sys/auto_init/usb/auto_init_usb.c @@ -24,6 +24,8 @@ #define USB_H_USER_IS_RIOT_INTERNAL +#include + #include "usb/usbus.h" #ifdef MODULE_USBUS_CDC_ECM diff --git a/sys/can/conn/isotp.c b/sys/can/conn/isotp.c index 119d99ebed..3bc202f7d6 100644 --- a/sys/can/conn/isotp.c +++ b/sys/can/conn/isotp.c @@ -17,6 +17,7 @@ */ #ifdef MODULE_CAN_ISOTP +#include #include #include diff --git a/sys/can/conn/raw.c b/sys/can/conn/raw.c index 64ec1d5257..08c6ea3ee2 100644 --- a/sys/can/conn/raw.c +++ b/sys/can/conn/raw.c @@ -16,6 +16,7 @@ * @} */ +#include #include #include diff --git a/sys/can/device.c b/sys/can/device.c index a366d88327..07afd9a40f 100644 --- a/sys/can/device.c +++ b/sys/can/device.c @@ -18,6 +18,7 @@ * @} */ +#include #include #include "thread.h" diff --git a/sys/can/dll.c b/sys/can/dll.c index adf9dfb4e4..f918208e0b 100644 --- a/sys/can/dll.c +++ b/sys/can/dll.c @@ -23,6 +23,7 @@ * @} */ +#include #include #include diff --git a/sys/can/isotp/isotp.c b/sys/can/isotp/isotp.c index 5d667c765b..dfc6a4f305 100644 --- a/sys/can/isotp/isotp.c +++ b/sys/can/isotp/isotp.c @@ -16,6 +16,7 @@ * @} */ +#include #include #include diff --git a/sys/can/pkt.c b/sys/can/pkt.c index 32faa7d4db..14747d7d70 100644 --- a/sys/can/pkt.c +++ b/sys/can/pkt.c @@ -17,6 +17,7 @@ * @} */ +#include #include #include #include diff --git a/sys/crypto/modes/ccm.c b/sys/crypto/modes/ccm.c index c76088dc1b..82b3468ec6 100644 --- a/sys/crypto/modes/ccm.c +++ b/sys/crypto/modes/ccm.c @@ -18,6 +18,7 @@ * @} */ +#include #include #include "debug.h" #include "crypto/helper.h" diff --git a/sys/fmt/table.c b/sys/fmt/table.c index 19d1c0fa17..dbf1bb851a 100644 --- a/sys/fmt/table.c +++ b/sys/fmt/table.c @@ -19,7 +19,6 @@ * @} */ -#include #include #include #include diff --git a/sys/fuzzing/netdev.c b/sys/fuzzing/netdev.c index a079e6698d..cb0d07f05a 100644 --- a/sys/fuzzing/netdev.c +++ b/sys/fuzzing/netdev.c @@ -6,6 +6,7 @@ * directory for more details. */ +#include #include #include "mutex.h" diff --git a/sys/hashes/sha224.c b/sys/hashes/sha224.c index 60429a6cce..4bc4c7ed39 100644 --- a/sys/hashes/sha224.c +++ b/sys/hashes/sha224.c @@ -19,7 +19,6 @@ */ #include -#include #include "hashes/sha224.h" #include "hashes/sha2xx_common.h" diff --git a/sys/include/net/gnrc/netif/ipv6.h b/sys/include/net/gnrc/netif/ipv6.h index 5953806540..5fb6acbada 100644 --- a/sys/include/net/gnrc/netif/ipv6.h +++ b/sys/include/net/gnrc/netif/ipv6.h @@ -18,7 +18,6 @@ #ifndef NET_GNRC_NETIF_IPV6_H #define NET_GNRC_NETIF_IPV6_H -#include #include #include "evtimer_msg.h" diff --git a/sys/include/net/sock/ip.h b/sys/include/net/sock/ip.h index 00c37c9ba8..93f5f2d5ad 100644 --- a/sys/include/net/sock/ip.h +++ b/sys/include/net/sock/ip.h @@ -268,7 +268,6 @@ #ifndef NET_SOCK_IP_H #define NET_SOCK_IP_H -#include #include #include #include diff --git a/sys/include/net/sock/udp.h b/sys/include/net/sock/udp.h index b3c1cbf1f2..5a4360fffc 100644 --- a/sys/include/net/sock/udp.h +++ b/sys/include/net/sock/udp.h @@ -268,7 +268,6 @@ #ifndef NET_SOCK_UDP_H #define NET_SOCK_UDP_H -#include #include #include #include diff --git a/sys/include/pm_layered.h b/sys/include/pm_layered.h index 2d98035a0b..c9e4233fa9 100644 --- a/sys/include/pm_layered.h +++ b/sys/include/pm_layered.h @@ -34,7 +34,6 @@ #ifndef PM_LAYERED_H #define PM_LAYERED_H -#include "assert.h" #include "periph_cpu.h" #ifdef __cplusplus diff --git a/sys/irq_handler/irq_handler.c b/sys/irq_handler/irq_handler.c index f4859a2acc..e901061f4d 100644 --- a/sys/irq_handler/irq_handler.c +++ b/sys/irq_handler/irq_handler.c @@ -6,6 +6,7 @@ * directory for more details. */ +#include #include #include diff --git a/sys/luid/luid.c b/sys/luid/luid.c index 80555a8376..bb7079409e 100644 --- a/sys/luid/luid.c +++ b/sys/luid/luid.c @@ -21,7 +21,6 @@ #include #include -#include "assert.h" #include "periph/cpuid.h" #include "luid.h" diff --git a/sys/memarray/memarray.c b/sys/memarray/memarray.c index c046697584..f12c1856d6 100644 --- a/sys/memarray/memarray.c +++ b/sys/memarray/memarray.c @@ -6,6 +6,7 @@ * directory for more details. */ +#include #include #include "memarray.h" diff --git a/sys/net/application_layer/asymcute/asymcute.c b/sys/net/application_layer/asymcute/asymcute.c index 9cbbe39fd5..e53097c5c1 100644 --- a/sys/net/application_layer/asymcute/asymcute.c +++ b/sys/net/application_layer/asymcute/asymcute.c @@ -18,6 +18,7 @@ * @} */ +#include #include #include "log.h" diff --git a/sys/net/application_layer/dhcpv6/client.c b/sys/net/application_layer/dhcpv6/client.c index 3f4161fb20..53facef327 100644 --- a/sys/net/application_layer/dhcpv6/client.c +++ b/sys/net/application_layer/dhcpv6/client.c @@ -13,6 +13,7 @@ * @author Martine Lenders */ +#include #include #include "event.h" diff --git a/sys/net/application_layer/emcute/emcute.c b/sys/net/application_layer/emcute/emcute.c index 19631ba1e3..7ef7b272e0 100644 --- a/sys/net/application_layer/emcute/emcute.c +++ b/sys/net/application_layer/emcute/emcute.c @@ -18,6 +18,7 @@ * @} */ +#include #include #include "log.h" diff --git a/sys/net/credman/credman.c b/sys/net/credman/credman.c index fe662e5bd3..eb89b9220e 100644 --- a/sys/net/credman/credman.c +++ b/sys/net/credman/credman.c @@ -19,6 +19,7 @@ #include "net/credman.h" #include "mutex.h" +#include #include #define ENABLE_DEBUG (0) diff --git a/sys/net/gnrc/application_layer/dhcpv6/client.c b/sys/net/gnrc/application_layer/dhcpv6/client.c index 3234ea744c..6788ba6871 100644 --- a/sys/net/gnrc/application_layer/dhcpv6/client.c +++ b/sys/net/gnrc/application_layer/dhcpv6/client.c @@ -13,6 +13,8 @@ * @author Martine Lenders */ +#include + #include "log.h" #include "net/arp.h" #include "net/dhcpv6.h" diff --git a/sys/net/gnrc/application_layer/dhcpv6/client_6lbr.c b/sys/net/gnrc/application_layer/dhcpv6/client_6lbr.c index 3c95c67e47..57e776350d 100644 --- a/sys/net/gnrc/application_layer/dhcpv6/client_6lbr.c +++ b/sys/net/gnrc/application_layer/dhcpv6/client_6lbr.c @@ -13,8 +13,6 @@ * @author Martine S. Lenders */ -#include - #include "event.h" #include "log.h" #include "net/dhcpv6/client.h" diff --git a/sys/net/gnrc/link_layer/gomach/gomach_internal.c b/sys/net/gnrc/link_layer/gomach/gomach_internal.c index eefd5a9da1..a8c3eb2d3e 100644 --- a/sys/net/gnrc/link_layer/gomach/gomach_internal.c +++ b/sys/net/gnrc/link_layer/gomach/gomach_internal.c @@ -17,6 +17,7 @@ * @} */ +#include #include #include "periph/rtt.h" diff --git a/sys/net/gnrc/link_layer/gomach/timeout.c b/sys/net/gnrc/link_layer/gomach/timeout.c index 686d9b82a9..c7cc8a2bd6 100644 --- a/sys/net/gnrc/link_layer/gomach/timeout.c +++ b/sys/net/gnrc/link_layer/gomach/timeout.c @@ -17,6 +17,8 @@ * @} */ +#include + #include "xtimer.h" #include "net/gnrc/gomach/gomach.h" #include "net/gnrc/gomach/timeout.h" diff --git a/sys/net/gnrc/link_layer/lorawan/gnrc_lorawan.c b/sys/net/gnrc/link_layer/lorawan/gnrc_lorawan.c index 280267caef..fc5bd3b385 100644 --- a/sys/net/gnrc/link_layer/lorawan/gnrc_lorawan.c +++ b/sys/net/gnrc/link_layer/lorawan/gnrc_lorawan.c @@ -13,6 +13,8 @@ * @author José Ignacio Alamos * @} */ + +#include #include #include #include "net/lora.h" diff --git a/sys/net/gnrc/link_layer/lorawan/gnrc_lorawan_mcps.c b/sys/net/gnrc/link_layer/lorawan/gnrc_lorawan_mcps.c index 35e0e1c5cf..7ebd8412b6 100644 --- a/sys/net/gnrc/link_layer/lorawan/gnrc_lorawan_mcps.c +++ b/sys/net/gnrc/link_layer/lorawan/gnrc_lorawan_mcps.c @@ -12,6 +12,8 @@ * @file * @author José Ignacio Alamos */ + +#include #include #include #include "net/lora.h" diff --git a/sys/net/gnrc/link_layer/lorawan/gnrc_lorawan_mlme.c b/sys/net/gnrc/link_layer/lorawan/gnrc_lorawan_mlme.c index 6252607c0b..9993b07f50 100644 --- a/sys/net/gnrc/link_layer/lorawan/gnrc_lorawan_mlme.c +++ b/sys/net/gnrc/link_layer/lorawan/gnrc_lorawan_mlme.c @@ -14,6 +14,8 @@ * * @} */ + +#include #include #include #include "net/lora.h" diff --git a/sys/net/gnrc/link_layer/lwmac/lwmac_internal.c b/sys/net/gnrc/link_layer/lwmac/lwmac_internal.c index 371c9430ad..d2475c50ff 100644 --- a/sys/net/gnrc/link_layer/lwmac/lwmac_internal.c +++ b/sys/net/gnrc/link_layer/lwmac/lwmac_internal.c @@ -19,6 +19,7 @@ * @} */ +#include #include #include "periph/rtt.h" diff --git a/sys/net/gnrc/link_layer/lwmac/rx_state_machine.c b/sys/net/gnrc/link_layer/lwmac/rx_state_machine.c index b7112af4cd..c706138180 100644 --- a/sys/net/gnrc/link_layer/lwmac/rx_state_machine.c +++ b/sys/net/gnrc/link_layer/lwmac/rx_state_machine.c @@ -19,6 +19,8 @@ * @} */ +#include + #include "net/gnrc.h" #include "net/gnrc/lwmac/lwmac.h" #include "net/gnrc/mac/internal.h" diff --git a/sys/net/gnrc/link_layer/lwmac/timeout.c b/sys/net/gnrc/link_layer/lwmac/timeout.c index a13008dcd2..67db7437ee 100644 --- a/sys/net/gnrc/link_layer/lwmac/timeout.c +++ b/sys/net/gnrc/link_layer/lwmac/timeout.c @@ -19,6 +19,7 @@ * @} */ +#include #include #include "net/gnrc/lwmac/timeout.h" diff --git a/sys/net/gnrc/link_layer/lwmac/tx_state_machine.c b/sys/net/gnrc/link_layer/lwmac/tx_state_machine.c index 1209f92301..07e42c2513 100644 --- a/sys/net/gnrc/link_layer/lwmac/tx_state_machine.c +++ b/sys/net/gnrc/link_layer/lwmac/tx_state_machine.c @@ -19,6 +19,8 @@ * @} */ +#include + #include "periph/rtt.h" #include "net/gnrc.h" #include "net/gnrc/lwmac/lwmac.h" diff --git a/sys/net/gnrc/link_layer/mac/internal.c b/sys/net/gnrc/link_layer/mac/internal.c index 6bf43f3c31..f3c8076737 100644 --- a/sys/net/gnrc/link_layer/mac/internal.c +++ b/sys/net/gnrc/link_layer/mac/internal.c @@ -19,6 +19,7 @@ * @} */ +#include #include #include "net/gnrc.h" diff --git a/sys/net/gnrc/link_layer/mac/timeout.c b/sys/net/gnrc/link_layer/mac/timeout.c index 1b3f8eb5db..1fc866eb3a 100644 --- a/sys/net/gnrc/link_layer/mac/timeout.c +++ b/sys/net/gnrc/link_layer/mac/timeout.c @@ -19,6 +19,8 @@ * @} */ +#include + #include "net/gnrc.h" #include "net/gnrc/mac/timeout.h" diff --git a/sys/net/gnrc/netapi/gnrc_netapi.c b/sys/net/gnrc/netapi/gnrc_netapi.c index 5684e39438..dc9d827264 100644 --- a/sys/net/gnrc/netapi/gnrc_netapi.c +++ b/sys/net/gnrc/netapi/gnrc_netapi.c @@ -18,6 +18,7 @@ * @} */ +#include #include #include "mbox.h" diff --git a/sys/net/gnrc/netif/ethernet/gnrc_netif_ethernet.c b/sys/net/gnrc/netif/ethernet/gnrc_netif_ethernet.c index 19511b4502..c69201f8ed 100644 --- a/sys/net/gnrc/netif/ethernet/gnrc_netif_ethernet.c +++ b/sys/net/gnrc/netif/ethernet/gnrc_netif_ethernet.c @@ -15,6 +15,7 @@ * @author Kaspar Schleiser */ +#include #include #include "net/ethernet/hdr.h" diff --git a/sys/net/gnrc/netif/gnrc_netif.c b/sys/net/gnrc/netif/gnrc_netif.c index 4828275f67..ac7d50c4ca 100644 --- a/sys/net/gnrc/netif/gnrc_netif.c +++ b/sys/net/gnrc/netif/gnrc_netif.c @@ -15,6 +15,7 @@ * @author Oliver Hahm */ +#include #include #include diff --git a/sys/net/gnrc/netif/gnrc_netif_device_type.c b/sys/net/gnrc/netif/gnrc_netif_device_type.c index 89559e325a..34565069e0 100644 --- a/sys/net/gnrc/netif/gnrc_netif_device_type.c +++ b/sys/net/gnrc/netif/gnrc_netif_device_type.c @@ -14,6 +14,7 @@ * @author Martine Lenders */ +#include #include #include diff --git a/sys/net/gnrc/netif/hdr/gnrc_netif_hdr.c b/sys/net/gnrc/netif/hdr/gnrc_netif_hdr.c index bc2d959bb4..464ac2269f 100644 --- a/sys/net/gnrc/netif/hdr/gnrc_netif_hdr.c +++ b/sys/net/gnrc/netif/hdr/gnrc_netif_hdr.c @@ -13,6 +13,8 @@ * @author Martine Lenders */ +#include + #include "net/gnrc/netif/hdr.h" gnrc_pktsnip_t *gnrc_netif_hdr_build(const uint8_t *src, uint8_t src_len, diff --git a/sys/net/gnrc/netif/init_devs/auto_init_sx127x.c b/sys/net/gnrc/netif/init_devs/auto_init_sx127x.c index 301eb231a0..389d5abeab 100644 --- a/sys/net/gnrc/netif/init_devs/auto_init_sx127x.c +++ b/sys/net/gnrc/netif/init_devs/auto_init_sx127x.c @@ -17,6 +17,8 @@ * @author Alexandre Abadie */ +#include + #include "log.h" #include "board.h" #include "net/gnrc/netif/lorawan_base.h" diff --git a/sys/net/gnrc/netif/lorawan/gnrc_netif_lorawan.c b/sys/net/gnrc/netif/lorawan/gnrc_netif_lorawan.c index a6715523af..c8d2e516d5 100644 --- a/sys/net/gnrc/netif/lorawan/gnrc_netif_lorawan.c +++ b/sys/net/gnrc/netif/lorawan/gnrc_netif_lorawan.c @@ -13,6 +13,8 @@ * @author Jose Ignacio Alamos */ +#include + #include "net/gnrc/pktbuf.h" #include "net/gnrc/netif.h" #include "net/gnrc/netif/lorawan.h" diff --git a/sys/net/gnrc/netif/pktq/gnrc_netif_pktq.c b/sys/net/gnrc/netif/pktq/gnrc_netif_pktq.c index a1e32c602d..b8ced8b893 100644 --- a/sys/net/gnrc/netif/pktq/gnrc_netif_pktq.c +++ b/sys/net/gnrc/netif/pktq/gnrc_netif_pktq.c @@ -13,6 +13,8 @@ * @author Martine Lenders */ +#include + #include "net/gnrc/pktqueue.h" #include "net/gnrc/netif/conf.h" #include "net/gnrc/netif/internal.h" diff --git a/sys/net/gnrc/network_layer/icmpv6/error/gnrc_icmpv6_error.c b/sys/net/gnrc/network_layer/icmpv6/error/gnrc_icmpv6_error.c index 37755a247a..a7a6e3e585 100644 --- a/sys/net/gnrc/network_layer/icmpv6/error/gnrc_icmpv6_error.c +++ b/sys/net/gnrc/network_layer/icmpv6/error/gnrc_icmpv6_error.c @@ -12,6 +12,8 @@ * @file */ +#include + #include "net/ipv6.h" #include "net/gnrc/icmpv6.h" #include "net/gnrc/netif.h" diff --git a/sys/net/gnrc/network_layer/icmpv6/gnrc_icmpv6.c b/sys/net/gnrc/network_layer/icmpv6/gnrc_icmpv6.c index bc12e23088..c1ed9f0c14 100644 --- a/sys/net/gnrc/network_layer/icmpv6/gnrc_icmpv6.c +++ b/sys/net/gnrc/network_layer/icmpv6/gnrc_icmpv6.c @@ -15,6 +15,7 @@ * @author Martine Lenders */ +#include #include #include #include diff --git a/sys/net/gnrc/network_layer/ipv6/ext/gnrc_ipv6_ext.c b/sys/net/gnrc/network_layer/ipv6/ext/gnrc_ipv6_ext.c index 8275bddae2..3eb7bbe5af 100644 --- a/sys/net/gnrc/network_layer/ipv6/ext/gnrc_ipv6_ext.c +++ b/sys/net/gnrc/network_layer/ipv6/ext/gnrc_ipv6_ext.c @@ -15,6 +15,7 @@ * @author Martine Lenders */ +#include #include #include "utlist.h" diff --git a/sys/net/gnrc/network_layer/ipv6/ext/opt/gnrc_ipv6_ext_opt.c b/sys/net/gnrc/network_layer/ipv6/ext/opt/gnrc_ipv6_ext_opt.c index 13fd4fbcb1..0404a8af21 100644 --- a/sys/net/gnrc/network_layer/ipv6/ext/opt/gnrc_ipv6_ext_opt.c +++ b/sys/net/gnrc/network_layer/ipv6/ext/opt/gnrc_ipv6_ext_opt.c @@ -13,6 +13,8 @@ * @author Martine Lenders */ +#include + #include "net/ipv6.h" #include "net/ipv6/ext.h" #include "net/ipv6/ext/opt.h" diff --git a/sys/net/gnrc/network_layer/ipv6/ext/rh/gnrc_ipv6_ext_rh.c b/sys/net/gnrc/network_layer/ipv6/ext/rh/gnrc_ipv6_ext_rh.c index 8a56bad756..1084dfb346 100644 --- a/sys/net/gnrc/network_layer/ipv6/ext/rh/gnrc_ipv6_ext_rh.c +++ b/sys/net/gnrc/network_layer/ipv6/ext/rh/gnrc_ipv6_ext_rh.c @@ -15,6 +15,8 @@ * @author Martine Lenders */ +#include + #include "net/ipv6/ext/rh.h" #include "net/gnrc.h" diff --git a/sys/net/gnrc/network_layer/ipv6/nib/_nib-6ln.c b/sys/net/gnrc/network_layer/ipv6/nib/_nib-6ln.c index 55ffe09b06..70dd4fbe19 100644 --- a/sys/net/gnrc/network_layer/ipv6/nib/_nib-6ln.c +++ b/sys/net/gnrc/network_layer/ipv6/nib/_nib-6ln.c @@ -12,6 +12,8 @@ * @file * @author Martine Lenders */ + +#include #include #include "net/gnrc/netif/internal.h" diff --git a/sys/net/gnrc/network_layer/ipv6/nib/_nib-6lr.c b/sys/net/gnrc/network_layer/ipv6/nib/_nib-6lr.c index b1a0f656d0..59b744bba6 100644 --- a/sys/net/gnrc/network_layer/ipv6/nib/_nib-6lr.c +++ b/sys/net/gnrc/network_layer/ipv6/nib/_nib-6lr.c @@ -12,6 +12,8 @@ * @file * @author Martine Lenders */ + +#include #include #include "net/gnrc/ipv6/nib.h" diff --git a/sys/net/gnrc/network_layer/ipv6/nib/_nib-arsm.c b/sys/net/gnrc/network_layer/ipv6/nib/_nib-arsm.c index f69162c2ed..f93f48a04e 100644 --- a/sys/net/gnrc/network_layer/ipv6/nib/_nib-arsm.c +++ b/sys/net/gnrc/network_layer/ipv6/nib/_nib-arsm.c @@ -12,6 +12,8 @@ * @file * @author Martine Lenders */ + +#include #include #include "evtimer.h" diff --git a/sys/net/gnrc/network_layer/ipv6/nib/_nib-internal.c b/sys/net/gnrc/network_layer/ipv6/nib/_nib-internal.c index bacd4f907e..f5bacd74a4 100644 --- a/sys/net/gnrc/network_layer/ipv6/nib/_nib-internal.c +++ b/sys/net/gnrc/network_layer/ipv6/nib/_nib-internal.c @@ -13,6 +13,7 @@ * @author Martine Lenders */ +#include #include #include #include diff --git a/sys/net/gnrc/network_layer/ipv6/nib/_nib-router.c b/sys/net/gnrc/network_layer/ipv6/nib/_nib-router.c index 4d84e78e33..a945ec3231 100644 --- a/sys/net/gnrc/network_layer/ipv6/nib/_nib-router.c +++ b/sys/net/gnrc/network_layer/ipv6/nib/_nib-router.c @@ -12,6 +12,8 @@ * @file * @author Martine Lenders */ + +#include #include #include "net/gnrc/ipv6/nib.h" diff --git a/sys/net/gnrc/network_layer/ipv6/nib/nib.c b/sys/net/gnrc/network_layer/ipv6/nib/nib.c index 0d0b3428e5..d86810c95e 100644 --- a/sys/net/gnrc/network_layer/ipv6/nib/nib.c +++ b/sys/net/gnrc/network_layer/ipv6/nib/nib.c @@ -13,6 +13,7 @@ * @author Martine Lenders */ +#include #include #include #include diff --git a/sys/net/gnrc/network_layer/ipv6/nib/nib_abr.c b/sys/net/gnrc/network_layer/ipv6/nib/nib_abr.c index e73acdee52..2a19272fde 100644 --- a/sys/net/gnrc/network_layer/ipv6/nib/nib_abr.c +++ b/sys/net/gnrc/network_layer/ipv6/nib/nib_abr.c @@ -13,6 +13,7 @@ * @author Martine Lenders */ +#include #include #include diff --git a/sys/net/gnrc/network_layer/ipv6/nib/nib_ft.c b/sys/net/gnrc/network_layer/ipv6/nib/nib_ft.c index 05c6f083db..f9dd03061c 100644 --- a/sys/net/gnrc/network_layer/ipv6/nib/nib_ft.c +++ b/sys/net/gnrc/network_layer/ipv6/nib/nib_ft.c @@ -13,6 +13,7 @@ * @author Martine Lenders */ +#include #include #include diff --git a/sys/net/gnrc/network_layer/ipv6/nib/nib_nc.c b/sys/net/gnrc/network_layer/ipv6/nib/nib_nc.c index 977b54a3af..ddb1ea5d28 100644 --- a/sys/net/gnrc/network_layer/ipv6/nib/nib_nc.c +++ b/sys/net/gnrc/network_layer/ipv6/nib/nib_nc.c @@ -13,6 +13,7 @@ * @author Martine Lenders */ +#include #include #include #include diff --git a/sys/net/gnrc/network_layer/ndp/gnrc_ndp.c b/sys/net/gnrc/network_layer/ndp/gnrc_ndp.c index a79207241a..b9c451bd03 100644 --- a/sys/net/gnrc/network_layer/ndp/gnrc_ndp.c +++ b/sys/net/gnrc/network_layer/ndp/gnrc_ndp.c @@ -13,6 +13,7 @@ * @author Martine Lenders */ +#include #include #include "net/gnrc/icmpv6.h" diff --git a/sys/net/gnrc/network_layer/sixlowpan/frag/gnrc_sixlowpan_frag.c b/sys/net/gnrc/network_layer/sixlowpan/frag/gnrc_sixlowpan_frag.c index 35f85224f8..d02761704a 100644 --- a/sys/net/gnrc/network_layer/sixlowpan/frag/gnrc_sixlowpan_frag.c +++ b/sys/net/gnrc/network_layer/sixlowpan/frag/gnrc_sixlowpan_frag.c @@ -32,6 +32,8 @@ #if ENABLE_DEBUG /* For PRIu16 etc. */ + +#include #include #endif diff --git a/sys/net/gnrc/network_layer/sixlowpan/frag/rb/gnrc_sixlowpan_frag_rb.c b/sys/net/gnrc/network_layer/sixlowpan/frag/rb/gnrc_sixlowpan_frag_rb.c index ac4f1546e5..2b5d066838 100644 --- a/sys/net/gnrc/network_layer/sixlowpan/frag/rb/gnrc_sixlowpan_frag_rb.c +++ b/sys/net/gnrc/network_layer/sixlowpan/frag/rb/gnrc_sixlowpan_frag_rb.c @@ -13,6 +13,7 @@ * @author Martine Lenders */ +#include #include #include diff --git a/sys/net/gnrc/network_layer/sixlowpan/gnrc_sixlowpan.c b/sys/net/gnrc/network_layer/sixlowpan/gnrc_sixlowpan.c index 8a6d21c801..79283643c2 100644 --- a/sys/net/gnrc/network_layer/sixlowpan/gnrc_sixlowpan.c +++ b/sys/net/gnrc/network_layer/sixlowpan/gnrc_sixlowpan.c @@ -12,6 +12,8 @@ * @file */ +#include + #include "kernel_types.h" #include "net/gnrc.h" #include "thread.h" diff --git a/sys/net/gnrc/priority_pktqueue/priority_pktqueue.c b/sys/net/gnrc/priority_pktqueue/priority_pktqueue.c index c083f23be8..938475f606 100644 --- a/sys/net/gnrc/priority_pktqueue/priority_pktqueue.c +++ b/sys/net/gnrc/priority_pktqueue/priority_pktqueue.c @@ -19,6 +19,8 @@ * @} */ +#include + #include "net/gnrc/pktbuf.h" #include "net/gnrc/priority_pktqueue.h" diff --git a/sys/net/gnrc/routing/rpl/gnrc_rpl.c b/sys/net/gnrc/routing/rpl/gnrc_rpl.c index f5836de476..5ad711f711 100644 --- a/sys/net/gnrc/routing/rpl/gnrc_rpl.c +++ b/sys/net/gnrc/routing/rpl/gnrc_rpl.c @@ -15,6 +15,7 @@ * @author Cenk Gündoğan */ +#include #include #include "kernel_defines.h" diff --git a/sys/net/gnrc/routing/rpl/gnrc_rpl_control_messages.c b/sys/net/gnrc/routing/rpl/gnrc_rpl_control_messages.c index fe078e329e..38bfd48811 100644 --- a/sys/net/gnrc/routing/rpl/gnrc_rpl_control_messages.c +++ b/sys/net/gnrc/routing/rpl/gnrc_rpl_control_messages.c @@ -16,6 +16,7 @@ * @author Cenk Gündoğan */ +#include #include #include "kernel_defines.h" diff --git a/sys/net/gnrc/routing/rpl/gnrc_rpl_dodag.c b/sys/net/gnrc/routing/rpl/gnrc_rpl_dodag.c index 740ec94f13..5b82fb5e79 100644 --- a/sys/net/gnrc/routing/rpl/gnrc_rpl_dodag.c +++ b/sys/net/gnrc/routing/rpl/gnrc_rpl_dodag.c @@ -16,6 +16,7 @@ * @author Cenk Gündoğan */ +#include #include #include diff --git a/sys/net/gnrc/routing/rpl/p2p/gnrc_rpl_p2p.c b/sys/net/gnrc/routing/rpl/p2p/gnrc_rpl_p2p.c index b86dead0eb..02f878c6d6 100644 --- a/sys/net/gnrc/routing/rpl/p2p/gnrc_rpl_p2p.c +++ b/sys/net/gnrc/routing/rpl/p2p/gnrc_rpl_p2p.c @@ -14,6 +14,7 @@ * @author Cenk Gündoğan */ +#include #include #include "net/icmpv6.h" diff --git a/sys/net/gnrc/routing/rpl/srh/gnrc_rpl_srh.c b/sys/net/gnrc/routing/rpl/srh/gnrc_rpl_srh.c index b5e53347b7..33826b1b7a 100644 --- a/sys/net/gnrc/routing/rpl/srh/gnrc_rpl_srh.c +++ b/sys/net/gnrc/routing/rpl/srh/gnrc_rpl_srh.c @@ -15,6 +15,7 @@ * @author Martine Lenders */ +#include #include #include "net/gnrc/netif/internal.h" #include "net/gnrc/ipv6/ext/rh.h" diff --git a/sys/net/gnrc/sock/gnrc_sock.c b/sys/net/gnrc/sock/gnrc_sock.c index c7e07cd2cd..3676433bdc 100644 --- a/sys/net/gnrc/sock/gnrc_sock.c +++ b/sys/net/gnrc/sock/gnrc_sock.c @@ -13,6 +13,7 @@ * @author Martine Lenders */ +#include #include #include diff --git a/sys/net/gnrc/sock/ip/gnrc_sock_ip.c b/sys/net/gnrc/sock/ip/gnrc_sock_ip.c index fa56c115e8..7785720b34 100644 --- a/sys/net/gnrc/sock/ip/gnrc_sock_ip.c +++ b/sys/net/gnrc/sock/ip/gnrc_sock_ip.c @@ -15,6 +15,7 @@ * @author Martine Lenders */ +#include #include #include diff --git a/sys/net/gnrc/sock/udp/gnrc_sock_udp.c b/sys/net/gnrc/sock/udp/gnrc_sock_udp.c index 1aaa2794b7..dd3b4b466e 100644 --- a/sys/net/gnrc/sock/udp/gnrc_sock_udp.c +++ b/sys/net/gnrc/sock/udp/gnrc_sock_udp.c @@ -15,6 +15,7 @@ * @author Martine Lenders */ +#include #include #include diff --git a/sys/net/gnrc/transport_layer/tcp/gnrc_tcp.c b/sys/net/gnrc/transport_layer/tcp/gnrc_tcp.c index 1fffaf77c6..f7674dc3af 100644 --- a/sys/net/gnrc/transport_layer/tcp/gnrc_tcp.c +++ b/sys/net/gnrc/transport_layer/tcp/gnrc_tcp.c @@ -17,6 +17,7 @@ * @} */ +#include #include #include #include diff --git a/sys/net/gnrc/transport_layer/tcp/gnrc_tcp_eventloop.c b/sys/net/gnrc/transport_layer/tcp/gnrc_tcp_eventloop.c index 8ae01263f7..e75ad0028c 100644 --- a/sys/net/gnrc/transport_layer/tcp/gnrc_tcp_eventloop.c +++ b/sys/net/gnrc/transport_layer/tcp/gnrc_tcp_eventloop.c @@ -17,6 +17,7 @@ * @} */ +#include #include #include #include "net/af.h" diff --git a/sys/net/gnrc/transport_layer/tcp/include/gnrc_tcp_common.h b/sys/net/gnrc/transport_layer/tcp/include/gnrc_tcp_common.h index 2bcd69876c..fa694e234a 100644 --- a/sys/net/gnrc/transport_layer/tcp/include/gnrc_tcp_common.h +++ b/sys/net/gnrc/transport_layer/tcp/include/gnrc_tcp_common.h @@ -21,7 +21,6 @@ #define GNRC_TCP_COMMON_H #include -#include "assert.h" #include "kernel_types.h" #include "thread.h" #include "mutex.h" diff --git a/sys/net/gnrc/transport_layer/udp/gnrc_udp.c b/sys/net/gnrc/transport_layer/udp/gnrc_udp.c index 7f78354d2b..c6f486d5e1 100644 --- a/sys/net/gnrc/transport_layer/udp/gnrc_udp.c +++ b/sys/net/gnrc/transport_layer/udp/gnrc_udp.c @@ -17,6 +17,7 @@ * @} */ +#include #include #include diff --git a/sys/net/netif/netif.c b/sys/net/netif/netif.c index 6613018258..572cbee768 100644 --- a/sys/net/netif/netif.c +++ b/sys/net/netif/netif.c @@ -13,6 +13,7 @@ * @author Jose I. Alamos */ +#include #include #include "errno.h" diff --git a/sys/phydat/phydat.c b/sys/phydat/phydat.c index 8fb96974c3..7dbb5dfeb2 100644 --- a/sys/phydat/phydat.c +++ b/sys/phydat/phydat.c @@ -20,6 +20,7 @@ * @} */ +#include #include #include "phydat.h" diff --git a/sys/pm_layered/pm.c b/sys/pm_layered/pm.c index 0559da27d5..4f0765dd23 100644 --- a/sys/pm_layered/pm.c +++ b/sys/pm_layered/pm.c @@ -18,6 +18,8 @@ * @} */ +#include + #include "irq.h" #include "periph/pm.h" #include "pm_layered.h" diff --git a/sys/progress_bar/progress_bar.c b/sys/progress_bar/progress_bar.c index 2bec1c5d8c..cdde2d00a9 100644 --- a/sys/progress_bar/progress_bar.c +++ b/sys/progress_bar/progress_bar.c @@ -20,7 +20,6 @@ #include #include -#include #include "progress_bar.h" diff --git a/sys/riotboot/slot.c b/sys/riotboot/slot.c index 472b02fc5b..fa8d3d6d9e 100644 --- a/sys/riotboot/slot.c +++ b/sys/riotboot/slot.c @@ -20,6 +20,8 @@ * * @} */ + +#include #include #include "cpu.h" diff --git a/sys/shell/commands/sc_gnrc_netif.c b/sys/shell/commands/sc_gnrc_netif.c index 12dd9b4312..fd01ec52ca 100644 --- a/sys/shell/commands/sc_gnrc_netif.c +++ b/sys/shell/commands/sc_gnrc_netif.c @@ -18,6 +18,7 @@ * @author Oliver Hahm */ +#include #include #include #include diff --git a/sys/shell/commands/sc_nimble_netif.c b/sys/shell/commands/sc_nimble_netif.c index 774ad4fb74..94b1a13ad0 100644 --- a/sys/shell/commands/sc_nimble_netif.c +++ b/sys/shell/commands/sc_nimble_netif.c @@ -18,6 +18,7 @@ * @} */ +#include #include #include diff --git a/sys/suit/transport/coap.c b/sys/suit/transport/coap.c index 02902ec255..080d6cf305 100644 --- a/sys/suit/transport/coap.c +++ b/sys/suit/transport/coap.c @@ -22,6 +22,7 @@ * @} */ +#include #include #include diff --git a/sys/trickle/trickle.c b/sys/trickle/trickle.c index 80c6ca83b2..1706e8750b 100644 --- a/sys/trickle/trickle.c +++ b/sys/trickle/trickle.c @@ -14,6 +14,8 @@ * @author Cenk Gündoğan */ +#include + #include "inttypes.h" #include "random.h" #include "trickle.h" diff --git a/sys/uri_parser/uri_parser.c b/sys/uri_parser/uri_parser.c index 96c2c97dee..8683da442c 100644 --- a/sys/uri_parser/uri_parser.c +++ b/sys/uri_parser/uri_parser.c @@ -18,6 +18,8 @@ * @} */ +#include + #include "uri_parser.h" #define ENABLE_DEBUG (0) diff --git a/sys/usb/usbus/cdc/acm/cdc_acm.c b/sys/usb/usbus/cdc/acm/cdc_acm.c index fd9ed9eae2..e88275a1d3 100644 --- a/sys/usb/usbus/cdc/acm/cdc_acm.c +++ b/sys/usb/usbus/cdc/acm/cdc_acm.c @@ -18,6 +18,7 @@ #define USB_H_USER_IS_RIOT_INTERNAL +#include #include #include "tsrb.h" diff --git a/sys/usb/usbus/cdc/ecm/cdc_ecm_netdev.c b/sys/usb/usbus/cdc/ecm/cdc_ecm_netdev.c index b2d2ced4c4..c40deb42e2 100644 --- a/sys/usb/usbus/cdc/ecm/cdc_ecm_netdev.c +++ b/sys/usb/usbus/cdc/ecm/cdc_ecm_netdev.c @@ -17,6 +17,7 @@ #define USB_H_USER_IS_RIOT_INTERNAL +#include #include #include "kernel_defines.h" diff --git a/sys/usb/usbus/usbus.c b/sys/usb/usbus/usbus.c index 9774f0ee4e..9ece7c1f9a 100644 --- a/sys/usb/usbus/usbus.c +++ b/sys/usb/usbus/usbus.c @@ -32,6 +32,7 @@ #include "usb.h" #include "cpu.h" +#include #include #include #include diff --git a/sys/usb/usbus/usbus_fmt.c b/sys/usb/usbus/usbus_fmt.c index f851619224..aced79cc11 100644 --- a/sys/usb/usbus/usbus_fmt.c +++ b/sys/usb/usbus/usbus_fmt.c @@ -18,6 +18,7 @@ #define USB_H_USER_IS_RIOT_INTERNAL +#include #include #include #include "usb/descriptor.h" diff --git a/sys/xtimer/xtimer_core.c b/sys/xtimer/xtimer_core.c index 20a67397b8..8031fea73f 100644 --- a/sys/xtimer/xtimer_core.c +++ b/sys/xtimer/xtimer_core.c @@ -22,6 +22,7 @@ * @} */ +#include #include #include diff --git a/sys/ztimer/periodic.c b/sys/ztimer/periodic.c index 5c38fdfd5a..b928409f9c 100644 --- a/sys/ztimer/periodic.c +++ b/sys/ztimer/periodic.c @@ -19,7 +19,7 @@ * * @} */ -#include + #include #include diff --git a/tests/bitarithm_timings/main.c b/tests/bitarithm_timings/main.c index 6cdec07bc4..a3f91b83f2 100644 --- a/tests/bitarithm_timings/main.c +++ b/tests/bitarithm_timings/main.c @@ -29,6 +29,7 @@ * @} */ +#include #include #include #include diff --git a/tests/c11_atomics_cpp_compat/main.c b/tests/c11_atomics_cpp_compat/main.c index d727a4ec7b..6cbbcb0563 100644 --- a/tests/c11_atomics_cpp_compat/main.c +++ b/tests/c11_atomics_cpp_compat/main.c @@ -17,6 +17,7 @@ * @} */ +#include #include #include #include diff --git a/tests/candev/main.c b/tests/candev/main.c index 65451718d9..c5bce70a0f 100644 --- a/tests/candev/main.c +++ b/tests/candev/main.c @@ -21,6 +21,7 @@ #define ENABLE_DEBUG (0) +#include #include #include #include diff --git a/tests/disp_dev/main.c b/tests/disp_dev/main.c index fb5256608b..e658128905 100644 --- a/tests/disp_dev/main.c +++ b/tests/disp_dev/main.c @@ -19,7 +19,6 @@ */ #include -#include #include "disp_dev.h" diff --git a/tests/driver_lis2dh12/main.c b/tests/driver_lis2dh12/main.c index 60c40c0674..ef7b936442 100644 --- a/tests/driver_lis2dh12/main.c +++ b/tests/driver_lis2dh12/main.c @@ -18,6 +18,7 @@ * @} */ +#include #include #include "fmt.h" diff --git a/tests/gnrc_ipv6_ext_frag/main.c b/tests/gnrc_ipv6_ext_frag/main.c index 5942474212..16409baf16 100644 --- a/tests/gnrc_ipv6_ext_frag/main.c +++ b/tests/gnrc_ipv6_ext_frag/main.c @@ -18,6 +18,7 @@ * @} */ +#include #include #include #include diff --git a/tests/gnrc_sock_ip/main.c b/tests/gnrc_sock_ip/main.c index 5f365423e6..baab17bdcd 100644 --- a/tests/gnrc_sock_ip/main.c +++ b/tests/gnrc_sock_ip/main.c @@ -17,6 +17,7 @@ * @} */ +#include #include #include #include diff --git a/tests/gnrc_sock_udp/main.c b/tests/gnrc_sock_udp/main.c index 1905897e8d..d211cada5b 100644 --- a/tests/gnrc_sock_udp/main.c +++ b/tests/gnrc_sock_udp/main.c @@ -17,6 +17,7 @@ * @} */ +#include #include #include #include diff --git a/tests/ieee802154_hal/main.c b/tests/ieee802154_hal/main.c index 990e4a90ac..22f57af9cd 100644 --- a/tests/ieee802154_hal/main.c +++ b/tests/ieee802154_hal/main.c @@ -18,6 +18,7 @@ * @} */ +#include #include #include "common.h" diff --git a/tests/ieee802154_submac/main.c b/tests/ieee802154_submac/main.c index af116636db..91f0cf67d8 100644 --- a/tests/ieee802154_submac/main.c +++ b/tests/ieee802154_submac/main.c @@ -18,6 +18,7 @@ * @} */ +#include #include #include #include diff --git a/tests/lwip_sock_ip/main.c b/tests/lwip_sock_ip/main.c index 5df5eff04d..5cf9fcce2d 100644 --- a/tests/lwip_sock_ip/main.c +++ b/tests/lwip_sock_ip/main.c @@ -17,6 +17,7 @@ * @} */ +#include #include #include #include diff --git a/tests/lwip_sock_udp/main.c b/tests/lwip_sock_udp/main.c index e5564f1a48..86ec985308 100644 --- a/tests/lwip_sock_udp/main.c +++ b/tests/lwip_sock_udp/main.c @@ -17,6 +17,7 @@ * @} */ +#include #include #include #include diff --git a/tests/pkg_relic/main.c b/tests/pkg_relic/main.c index 849416be6f..92366e7f8e 100644 --- a/tests/pkg_relic/main.c +++ b/tests/pkg_relic/main.c @@ -12,7 +12,6 @@ #if (TEST_RELIC_SHOW_OUTPUT == 1) #include #endif -#include #include #include "relic.h" diff --git a/tests/thread_msg_bus/main.c b/tests/thread_msg_bus/main.c index 9e139ddc2b..1a530fadee 100644 --- a/tests/thread_msg_bus/main.c +++ b/tests/thread_msg_bus/main.c @@ -18,6 +18,7 @@ * @} */ +#include #include #include diff --git a/tests/touch_dev/main.c b/tests/touch_dev/main.c index 175a3ac7dd..98400d1ecb 100644 --- a/tests/touch_dev/main.c +++ b/tests/touch_dev/main.c @@ -19,7 +19,6 @@ */ #include -#include #include #include "xtimer.h"