1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

Merge pull request #15267 from basilfx/feature/missing_assert_header

treewide: cleanup assert.h includes
This commit is contained in:
benpicco 2020-10-22 16:41:49 +02:00 committed by GitHub
commit f933bbd4cd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
236 changed files with 277 additions and 42 deletions

View File

@ -22,7 +22,6 @@
#include "cpu.h"
#include "mutex.h"
#include "assert.h"
#include "periph/adc.h"
#include "periph_conf.h"

View File

@ -42,6 +42,7 @@
* @}
*/
#include <assert.h>
#include <avr/interrupt.h>
#include "byteorder.h"

View File

@ -20,6 +20,7 @@
* @}
*/
#include <assert.h>
#include <avr/interrupt.h>
#include "board.h"

View File

@ -19,6 +19,8 @@
* @}
*/
#include <assert.h>
#include "cpu.h"
#include "periph/pm.h"
#include "periph/wdt.h"

View File

@ -17,7 +17,6 @@
* @}
*/
#include <assert.h>
#include "stdio_base.h"
#include "cpu.h"

View File

@ -21,6 +21,7 @@
* @}
*/
#include <assert.h>
#include <stdint.h>
#include "cpu.h"

View File

@ -19,6 +19,7 @@
* @}
*/
#include <assert.h>
#include <stdint.h>
#include "cpu.h"

View File

@ -20,6 +20,7 @@
* @}
*/
#include <assert.h>
#include <stddef.h>
#include "board.h"

View File

@ -20,6 +20,8 @@
* @}
*/
#include <assert.h>
#include "cc2538.h"
#include "periph/wdt.h"

View File

@ -19,6 +19,7 @@
* @}
*/
#include <assert.h>
#include <errno.h>
#include <stdio.h>

View File

@ -17,7 +17,6 @@
* @}
*/
#include <assert.h>
#include "cpu.h"
static inline bool _hf_source_ready(void)

View File

@ -22,6 +22,8 @@
* @}
*/
#include <assert.h>
#include "cpu.h"
#include "periph/uart.h"
#include "periph_conf.h"

View File

@ -19,6 +19,8 @@
* @}
*/
#include <assert.h>
#include "cpu.h"
#include "mutex.h"

View File

@ -17,6 +17,8 @@
* @author Bas Stottelaar <basstottelaar@gmail.com>
*/
#include <assert.h>
#include "cpu.h"
#include "periph_conf.h"

View File

@ -20,6 +20,8 @@
* @}
*/
#include <assert.h>
#include "cpu.h"
#include "sched.h"
#include "thread.h"

View File

@ -15,6 +15,7 @@
* @{
*/
#include <assert.h>
#include <errno.h>
#include <string.h>

View File

@ -21,6 +21,7 @@
#define ENABLE_DEBUG (0)
#include "debug.h"
#include <assert.h>
#include <stdbool.h>
#include "log.h"

View File

@ -18,6 +18,8 @@
* @}
*/
#include <assert.h>
#define ENABLE_DEBUG (0)
#include "debug.h"

View File

@ -21,7 +21,6 @@
#include "tools.h"
#include <string.h>
#include <assert.h>
#include <errno.h>
#include "net/gnrc.h"

View File

@ -13,6 +13,7 @@
#define ENABLE_DEBUG (0)
#include "debug.h"
#include <assert.h>
#include <string.h>
#include "esp_common.h"

View File

@ -13,6 +13,7 @@
#define ENABLE_DEBUG (0)
#include "debug.h"
#include <assert.h>
#include <string.h>
#include "esp_common.h"

View File

@ -13,6 +13,7 @@
#define ENABLE_DEBUG (0)
#include "debug.h"
#include <assert.h>
#include <string.h>
#include "esp_common.h"

View File

@ -13,6 +13,7 @@
#define ENABLE_DEBUG (0)
#include "debug.h"
#include <assert.h>
#include <string.h>
#include "esp_common.h"

View File

@ -20,6 +20,7 @@
#if MODULE_MTD
#include <assert.h>
#include <errno.h>
#include <string.h>
#include <stdlib.h>

View File

@ -19,13 +19,14 @@
* @}
*/
#include <assert.h>
#include <string.h>
#define ENABLE_DEBUG (0)
#include "debug.h"
#include "esp_common.h"
#include "log.h"
#include <string.h>
#include "cpu.h"
#include "mutex.h"
#include "periph/spi.h"

View File

@ -19,6 +19,8 @@
* @}
*/
#include <assert.h>
#define ENABLE_DEBUG (0)
#include "debug.h"

View File

@ -18,6 +18,7 @@
* @}
*/
#include <assert.h>
#include <string.h>
#include <stdio_ext.h>
#include <sys/unistd.h>

View File

@ -18,6 +18,8 @@
* @}
*/
#include <assert.h>
#include "context_frame.h"
#include "thread.h"

View File

@ -21,7 +21,6 @@
#if !defined(__ASSEMBLER__)
#include <stdint.h>
#include <assert.h>
#endif /* __ASSEMBLER__ */

View File

@ -18,7 +18,6 @@
*/
#include <stdio.h>
#include <assert.h>
#include <inttypes.h>
#include "macros/xtstr.h"

View File

@ -17,6 +17,8 @@
* @}
*/
#include <assert.h>
#include "vendor/encoding.h"
#include "vendor/platform.h"
#include "cpu.h"

View File

@ -24,6 +24,8 @@
* @}
*/
#include <assert.h>
#include "cpu.h"
#include "bit.h"
#include "periph_conf.h"

View File

@ -17,6 +17,9 @@
*
* @}
*/
#include <assert.h>
#include "cpu.h"
#include "mutex.h"
#include "periph/gpio.h"

View File

@ -18,6 +18,8 @@
* @}
*/
#include <assert.h>
#include "cpu.h"
#include "periph/gpio.h"

View File

@ -18,6 +18,7 @@
* @}
*/
#include <assert.h>
#include <stdint.h>
#include "cpu.h"

View File

@ -12,6 +12,7 @@
/
/---------------------------------------------------------------------------*/
#include <assert.h>
#include <string.h>
#include "cpu.h"
#include "VIC.h"

View File

@ -19,7 +19,6 @@
* @}
*/
#include <assert.h>
#include <stdint.h>
#include <stdio.h>
#include <string.h>

View File

@ -6,6 +6,8 @@
* General Public License v2.1. See the file LICENSE in the top level
* directory for more details.
*/
#include <assert.h>
#include <mips/cpu.h>
#include <mips/hal.h>
#include <unistd.h>

View File

@ -17,6 +17,7 @@
* @}
*/
#include <assert.h>
#include <mips/cpu.h>
#include <mips/m32c0.h>
#include <mips/regdef.h>

View File

@ -20,6 +20,8 @@
* @}
*/
#include <assert.h>
#include "cpu.h"
#include "irq.h"
#include "periph/flashpage.h"

View File

@ -16,7 +16,6 @@
*/
#include <stdio.h>
#include <assert.h>
#include <inttypes.h>
#include <errno.h>

View File

@ -18,6 +18,7 @@
* @}
*/
#include <assert.h>
#include <errno.h>
#include "periph/pwm.h"

View File

@ -18,6 +18,7 @@
* @}
*/
#include <assert.h>
#include <stdint.h>
#include <string.h>
#include <inttypes.h>

View File

@ -20,6 +20,8 @@
* @}
*/
#include <assert.h>
#include "cpu.h"
#include "mutex.h"
#include "periph/adc.h"

View File

@ -22,6 +22,7 @@
#define USB_H_USER_IS_RIOT_INTERNAL
#include <assert.h>
#include <stdint.h>
#include <stdlib.h>
#include <errno.h>

View File

@ -21,6 +21,7 @@
* @}
*/
#include <assert.h>
#include <string.h>
#include <errno.h>

View File

@ -16,6 +16,8 @@
* @author José I. Alamos <jose.alamos@haw-hamburg.de>
* @}
*/
#include <assert.h>
#include <string.h>
#include <errno.h>

View File

@ -20,6 +20,9 @@
*
* @}
*/
#include <assert.h>
#include "cpu.h"
#include "periph_cpu.h"

View File

@ -28,6 +28,8 @@
* @}
*/
#include <assert.h>
#include "cpu.h"
#include "periph/gpio.h"
#include "periph_cpu.h"

View File

@ -28,6 +28,7 @@
* @}
*/
#include <assert.h>
#include <stdint.h>
#include <string.h>

View File

@ -19,6 +19,8 @@
* @}
*/
#include <assert.h>
#include "cpu.h"
#include "timex.h"
#include "periph/wdt.h"

View File

@ -18,6 +18,8 @@
* @}
*/
#include <assert.h>
#include "net/gnrc.h"
#include "thread.h"
#include "net/gnrc/netif.h"

View File

@ -18,6 +18,8 @@
* @}
*/
#include <assert.h>
#include "cpu.h"
#include "periph/dac.h"
#include "periph/gpio.h"

View File

@ -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"

View File

@ -22,6 +22,8 @@
* @}
*/
#include <assert.h>
#include "cpu.h"
#include "board.h"
#include "periph/gpio.h"

View File

@ -20,6 +20,7 @@
* @}
*/
#include <assert.h>
#include <stdlib.h>
#include <stdio.h>

View File

@ -18,6 +18,7 @@
#define USB_H_USER_IS_RIOT_INTERNAL
#include <assert.h>
#include <stdint.h>
#include <stdlib.h>
#include <errno.h>

View File

@ -18,6 +18,7 @@
* @}
*/
#include <assert.h>
#include <stdio.h>

View File

@ -17,6 +17,8 @@
* @}
*/
#include <assert.h>
#include "cpu.h"
#include "macros/units.h"
#include "periph_conf.h"

View File

@ -18,6 +18,8 @@
* @}
*/
#include <assert.h>
#include "cpu.h"
#include "periph/init.h"
#include "periph_conf.h"

View File

@ -17,6 +17,7 @@
* @}
*/
#include <assert.h>
#include <string.h>
#include <errno.h>
#include <limits.h>

View File

@ -19,6 +19,8 @@
*
* @}
*/
#include <assert.h>
#include <errno.h>
#include <string.h>

View File

@ -19,6 +19,8 @@
* @}
*/
#include <assert.h>
#include "cpu.h"
#include "irq.h"
#include "periph/rtt.h"

View File

@ -18,6 +18,7 @@
#define USB_H_USER_IS_RIOT_INTERNAL
#include <assert.h>
#include <stdint.h>
#include <stdlib.h>
#include <errno.h>

View File

@ -18,6 +18,8 @@
* @}
*/
#include <assert.h>
#include "ad7746.h"
#include "ad7746_params.h"
#include "ad7746_internal.h"

View File

@ -17,6 +17,8 @@
* @}
*/
#include <assert.h>
#include "adcxx1c.h"
#include "adcxx1c_params.h"
#include "adcxx1c_regs.h"

View File

@ -14,6 +14,7 @@
* @{
*/
#include <assert.h>
#include <stdio.h>
#include "xtimer.h"

View File

@ -15,6 +15,7 @@
* @}
*/
#include <assert.h>
#include <string.h>
#include <stdlib.h>

View File

@ -6,6 +6,7 @@
* directory for more details.
*/
#include <assert.h>
#include <errno.h>
#include <string.h>

View File

@ -19,6 +19,7 @@
* @}
*/
#include <assert.h>
#include <errno.h>
#include <string.h>
#include <sys/types.h>

View File

@ -16,6 +16,8 @@
* @}
*/
#include <assert.h>
#include "xtimer.h"
#include "periph/spi.h"
#include "at86rf2xx_aes.h"

View File

@ -18,6 +18,8 @@
* @}
*/
#include <assert.h>
#include "atwinc15x0_internal.h"
#include "mutex.h"
#include "periph/spi.h"

View File

@ -18,6 +18,8 @@
* @}
*/
#include <assert.h>
#include "atwinc15x0_internal.h"
#include "bus_wrapper/include/nm_bus_wrapper.h"

View File

@ -18,6 +18,8 @@
* @}
*/
#include <assert.h>
#include "bme680.h"
#include "bme680_hal.h"
#include "bme680_params.h"

View File

@ -13,6 +13,7 @@
* @file
*/
#include <assert.h>
#include <errno.h>
#include <string.h>
#include <stdlib.h>

View File

@ -16,7 +16,7 @@
*
* @}
*/
#include <assert.h>
#include <errno.h>
#include <inttypes.h>
#include <stdint.h>

View File

@ -18,6 +18,7 @@
* @}
*/
#include <assert.h>
#include <string.h>
#include "dose.h"

View File

@ -19,7 +19,6 @@
* @}
*/
#include <assert.h>
#include <errno.h>
#include "mutex.h"

View File

@ -20,7 +20,6 @@
* @}
*/
#include <assert.h>
#include <string.h>
#include "log.h"

View File

@ -14,6 +14,7 @@
* @{
*/
#include <assert.h>
#include <string.h>
#include <stdlib.h>

View File

@ -22,7 +22,6 @@
#include <stdbool.h>
#include <string.h>
#include "assert.h"
#include "hts221.h"
#include "periph/i2c.h"
#include "xtimer.h"

View File

@ -24,7 +24,6 @@
#ifndef PERIPH_PM_H
#define PERIPH_PM_H
#include "assert.h"
#include "periph_cpu.h"
#ifdef MODULE_PM_LAYERED

View File

@ -14,6 +14,7 @@
* @{
*/
#include <assert.h>
#include <string.h>
#include <stdlib.h>
#include <errno.h>

View File

@ -16,6 +16,7 @@
* @}
*/
#include <assert.h>
#include <errno.h>
#include <string.h>
#include "log.h"

View File

@ -16,6 +16,7 @@
* @}
*/
#include <assert.h>
#include "log.h"
#include "irq.h"
#include "panic.h"

View File

@ -20,6 +20,8 @@
* @}
*/
#include <assert.h>
#include "xtimer.h"
#include "lsm6dsl.h"

View File

@ -22,6 +22,7 @@
* @}
*/
#include <assert.h>
#include <stdint.h>
#include <stdbool.h>
#include <string.h>

View File

@ -22,6 +22,7 @@
* @}
*/
#include <assert.h>
#include <stdint.h>
#include <stdbool.h>
#include <string.h>

View File

@ -18,6 +18,7 @@
* @}
*/
#include <assert.h>
#include <stdint.h>
#include <errno.h>

View File

@ -19,6 +19,8 @@
* @}
*/
#include <assert.h>
#include "opt3001.h"
#include "opt3001_regs.h"
#include "periph/i2c.h"

View File

@ -14,6 +14,7 @@
* @{
*/
#include <assert.h>
#include <stdio.h>
#include "pca9633.h"

View File

@ -14,6 +14,7 @@
* @{
*/
#include <assert.h>
#include <math.h>
#include <string.h>
#include <stdlib.h>

View File

@ -19,7 +19,6 @@
#include <string.h>
#include <errno.h>
#include "assert.h"
#include "fmt.h"
#include "net/loramac.h"

View File

@ -22,6 +22,8 @@
* @}
*/
#include <assert.h>
#include "log.h"
#include "saul_reg.h"
#include "tsl4531x.h"

View File

@ -21,7 +21,6 @@
#include <string.h>
#include "assert.h"
#include "byteorder.h"
#include "xtimer.h"
#include "periph/i2c.h"

View File

@ -17,6 +17,7 @@
#include "debug.h"
#include "log.h"
#include <assert.h>
#include <errno.h>
#include <string.h>

View File

@ -13,6 +13,7 @@
* @author Martine Lenders <mlenders@inf.fu-berlin.de>
*/
#include <assert.h>
#include <errno.h>
#include <stdbool.h>
#include <string.h>

View File

@ -21,6 +21,7 @@
#include "soft_uart.h"
#include "macros/units.h"
#include "kernel_defines.h"
#ifdef __cplusplus
extern "C" {

View File

@ -17,7 +17,6 @@
*/
#include <stdio.h>
#include <assert.h>
#include "mutex.h"
#include "soft_uart.h"

View File

@ -15,6 +15,7 @@
#define LOG_LEVEL LOG_DEBUG
#include "log.h"
#include <assert.h>
#include <errno.h>
#include <string.h>

Some files were not shown because too many files have changed in this diff Show More