Browse Source

cleanup: apply headerguard script output

master
Kaspar Schleiser 5 years ago
parent
commit
0fcc7d3834
  1. 6
      boards/avsextrem/include/board.h
  2. 2
      boards/calliope-mini/include/board.h
  3. 6
      boards/chronos/include/board.h
  4. 2
      boards/ek-lm4f120xl/include/board.h
  5. 2
      boards/frdm-k64f/include/board.h
  6. 2
      boards/microbit/include/board.h
  7. 6
      boards/mips-malta/include/board.h
  8. 6
      boards/mips-malta/include/periph_conf.h
  9. 6
      boards/msb-430-common/drivers/include/sht11-board.h
  10. 6
      boards/msb-430/include/board.h
  11. 6
      boards/msb-430h/include/board.h
  12. 6
      boards/msba2-common/drivers/include/sht11-board.h
  13. 2
      boards/msba2-common/include/msba2_common.h
  14. 2
      boards/msba2-common/tools/src/control_2xxx.h
  15. 2
      boards/msba2-common/tools/src/lpc2k_pgm.h
  16. 2
      boards/msba2-common/tools/src/serial.h
  17. 6
      boards/mulle/include/periph_conf.h
  18. 2
      boards/nrf51dongle/include/board.h
  19. 2
      boards/nrf52840dk/include/board.h
  20. 2
      boards/nrf52840dk/include/periph_conf.h
  21. 2
      boards/nrf52dk/include/board.h
  22. 2
      boards/nrf52dk/include/periph_conf.h
  23. 2
      boards/nrf6310/include/board.h
  24. 6
      boards/nucleo-f411/include/board.h
  25. 6
      boards/nucleo-f411/include/periph_conf.h
  26. 6
      boards/nucleo32-f031/include/board.h
  27. 6
      boards/nucleo32-f031/include/periph_conf.h
  28. 2
      boards/pca10000/include/board.h
  29. 6
      boards/pic32-wifire/include/board.h
  30. 6
      boards/pic32-wifire/include/periph_conf.h
  31. 6
      boards/qemu-i386/include/board.h
  32. 6
      boards/qemu-i386/include/cpu_conf.h
  33. 2
      boards/saml21-xpro/include/board.h
  34. 6
      boards/telosb/include/board.h
  35. 6
      boards/wsn430-v1_3b/include/board.h
  36. 6
      boards/wsn430-v1_4/include/board.h
  37. 2
      boards/x86-multiboot-common/include/multiboot.h
  38. 6
      boards/z1/include/board.h
  39. 6
      core/include/arch/irq_arch.h
  40. 6
      core/include/arch/panic_arch.h
  41. 6
      core/include/arch/thread_arch.h
  42. 6
      core/include/native_sched.h
  43. 6
      core/include/priority_queue.h
  44. 6
      core/include/rmutex.h
  45. 6
      core/include/sched.h
  46. 6
      core/include/thread_flags.h
  47. 6
      cpu/atmega_common/avr-libc-extra/inttypes.h
  48. 2
      cpu/atmega_common/avr-libc-extra/time.h
  49. 6
      cpu/atmega_common/include/cpu.h
  50. 6
      cpu/atmega_common/include/sys/stat.h
  51. 6
      cpu/atmega_common/include/sys/time.h
  52. 6
      cpu/atmega_common/include/sys/types.h
  53. 6
      cpu/cc2538/include/cc2538.h
  54. 6
      cpu/cc2538/include/cc2538_gptimer.h
  55. 6
      cpu/cc26x0/include/cc26x0.h
  56. 6
      cpu/cc26x0/include/cc26x0_aux.h
  57. 6
      cpu/cc26x0/include/cc26x0_ccfg.h
  58. 6
      cpu/cc26x0/include/cc26x0_fcfg.h
  59. 6
      cpu/cc26x0/include/cc26x0_gpio.h
  60. 6
      cpu/cc26x0/include/cc26x0_gpt.h
  61. 6
      cpu/cc26x0/include/cc26x0_i2c.h
  62. 6
      cpu/cc26x0/include/cc26x0_ioc.h
  63. 6
      cpu/cc26x0/include/cc26x0_prcm.h
  64. 6
      cpu/cc26x0/include/cc26x0_uart.h
  65. 6
      cpu/cc26x0/include/cc26x0_vims.h
  66. 6
      cpu/cc26x0/include/cc26x0_wdt.h
  67. 2
      cpu/cc430/include/cc430-adc.h
  68. 2
      cpu/cc430/include/cc430-rtc.h
  69. 6
      cpu/cc430/include/periph_cpu.h
  70. 6
      cpu/cortexm_common/include/vectors_cortexm.h
  71. 2
      cpu/ezr32wg/include/cpu_conf.h
  72. 6
      cpu/ezr32wg/include/periph_cpu.h
  73. 6
      cpu/kinetis_common/include/mcg.h
  74. 6
      cpu/lpc2387/include/cpu_conf.h
  75. 6
      cpu/mips32r2_common/include/cpu.h
  76. 6
      cpu/mips32r2_common/include/cpu_conf.h
  77. 6
      cpu/mips32r2_common/include/eic_irq.h
  78. 6
      cpu/mips_pic32mx/include/cpu.h
  79. 6
      cpu/mips_pic32mx/include/cpu_conf.h
  80. 6
      cpu/mips_pic32mz/include/cpu.h
  81. 6
      cpu/mips_pic32mz/include/cpu_conf.h
  82. 6
      cpu/msp430_common/include/cpu_conf.h
  83. 6
      cpu/msp430_common/include/stdatomic.h
  84. 6
      cpu/msp430_common/include/stdio.h
  85. 6
      cpu/msp430_common/include/stdlib.h
  86. 6
      cpu/msp430_common/include/sys/cdefs.h
  87. 6
      cpu/msp430_common/include/sys/features.h
  88. 6
      cpu/msp430_common/include/sys/stat.h
  89. 6
      cpu/msp430_common/include/sys/time.h
  90. 6
      cpu/msp430_common/include/time.h
  91. 6
      cpu/msp430fxyz/include/periph_cpu.h
  92. 2
      cpu/native/include/async_read.h
  93. 6
      cpu/native/include/cpu.h
  94. 6
      cpu/native/include/cpu_conf.h
  95. 6
      cpu/native/include/native_internal.h
  96. 6
      cpu/native/include/netdev_tap_params.h
  97. 2
      cpu/native/include/tty_uart.h
  98. 2
      cpu/native/osx-libc-extra/malloc.h
  99. 6
      cpu/nrf51/include/periph_cpu.h
  100. 6
      cpu/nrf52/include/periph_cpu.h
  101. Some files were not shown because too many files have changed in this diff Show More

6
boards/avsextrem/include/board.h

@ -22,8 +22,8 @@
*/
#ifndef BOARDCONF_H
#define BOARDCONF_H
#ifndef BOARD_H
#define BOARD_H
#include "bitarithm.h"
#include "msba2_common.h"
@ -60,4 +60,4 @@ void init_clks1(void);
#endif
/** @} */
#endif /* BOARDCONF_H */
#endif /* BOARD_H */

2
boards/calliope-mini/include/board.h

@ -73,5 +73,5 @@ void board_init(void);
}
#endif
#endif /** BOARD_H */
#endif /* BOARD_H */
/** @} */

6
boards/chronos/include/board.h

@ -18,8 +18,8 @@
* @author unknown
*/
#ifndef CHRONOS_BOARD_H
#define CHRONOS_BOARD_H
#ifndef BOARD_H
#define BOARD_H
#include <stdint.h>
@ -59,5 +59,5 @@ extern "C" {
}
#endif
#endif /* CHRONOS_BOARD_H */
#endif /* BOARD_H */
/** @} */

2
boards/ek-lm4f120xl/include/board.h

@ -64,5 +64,5 @@ extern void board_init(void);
}
#endif
#endif /** BOARD_H */
#endif /* BOARD_H */
/** @} */

2
boards/frdm-k64f/include/board.h

@ -64,5 +64,5 @@ void board_init(void);
}
#endif
#endif /** BOARD_H */
#endif /* BOARD_H */
/** @} */

2
boards/microbit/include/board.h

@ -89,5 +89,5 @@ void board_init(void);
}
#endif
#endif /** BOARD_H */
#endif /* BOARD_H */
/** @} */

6
boards/mips-malta/include/board.h

@ -20,8 +20,8 @@
* @author Neil Jones <neil.jones@imgtec.com>
*/
#ifndef _BOARD_H_
#define _BOARD_H_
#ifndef BOARD_H
#define BOARD_H
#ifdef __cplusplus
extern "C" {
@ -42,5 +42,5 @@ void board_init(void);
}
#endif
#endif /* _BOARD_H_ */
#endif /* BOARD_H */
/** @} */

6
boards/mips-malta/include/periph_conf.h

@ -20,8 +20,8 @@
* @author Neil Jones <neil.jones@imgtec.com>
*/
#ifndef _PERIPH_CONF_H_
#define _PERIPH_CONF_H_
#ifndef PERIPH_CONF_H
#define PERIPH_CONF_H
#ifdef __cplusplus
extern "C" {
@ -55,5 +55,5 @@ extern "C" {
}
#endif
#endif /*_PERIPH_CONF_H_*/
#endif /* PERIPH_CONF_H */
/** @} */

6
boards/msb-430-common/drivers/include/sht11-board.h

@ -6,8 +6,8 @@
* directory for more details.
*/
#ifndef SHT11BOARD_H
#define SHT11BOARD_H
#ifndef SHT11_BOARD_H
#define SHT11_BOARD_H
/**
* @ingroup msb_430h
@ -46,4 +46,4 @@ extern "C" {
#endif
/** @} */
#endif /* SHT11BOARD_H */
#endif /* SHT11_BOARD_H */

6
boards/msb-430/include/board.h

@ -31,8 +31,8 @@
* @author Freie Universität Berlin, Computer Systems & Telematics, FeuerWhere project
*/
#ifndef MSB_BOARD_H
#define MSB_BOARD_H
#ifndef BOARD_H
#define BOARD_H
#include "board_common.h"
@ -64,4 +64,4 @@ extern "C" {
#endif
/** @} */
#endif /* MSB_BOARD_H */
#endif /* BOARD_H */

6
boards/msb-430h/include/board.h

@ -19,8 +19,8 @@
* @author Hauke Petersen <hauke.petersen@fu-berlin.de>
*/
#ifndef MSB_BOARD_H
#define MSB_BOARD_H
#ifndef BOARD_H
#define BOARD_H
#include "board_common.h"
@ -52,4 +52,4 @@ extern "C" {
#endif
/** @} */
#endif /* MSB_BOARD_H */
#endif /* BOARD_H */

6
boards/msba2-common/drivers/include/sht11-board.h

@ -6,8 +6,8 @@
* directory for more details.
*/
#ifndef SHT11BOARD_H
#define SHT11BOARD_H
#ifndef SHT11_BOARD_H
#define SHT11_BOARD_H
/**
* @ingroup lpc2387
@ -53,4 +53,4 @@ extern "C" {
#endif
/** @} */
#endif /* SHT11BOARD_H */
#endif /* SHT11_BOARD_H */

2
boards/msba2-common/include/msba2_common.h

@ -43,4 +43,4 @@ static inline void pllfeed(void)
#endif
/** @} */
#endif /* MSBA2_COMMON_H */
#endif /* MSBA2_COMMON_H */

2
boards/msba2-common/tools/src/control_2xxx.h

@ -22,4 +22,4 @@
void hard_reset_to_bootloader(void);
void hard_reset_to_user_code(void);
#endif /* CONTROL_2XXX_H */
#endif /* CONTROL_2XXX_H */

2
boards/msba2-common/tools/src/lpc2k_pgm.h

@ -27,4 +27,4 @@ void change_baud(const char *baud_name);
*/
void signal_terminal(void);
#endif /* LPC2K_PGM_H */
#endif /* LPC2K_PGM_H */

2
boards/msba2-common/tools/src/serial.h

@ -34,4 +34,4 @@ void set_rts(int val);
void set_dtr(int val);
void change_baud(const char *baud_name);
#endif /* SERIAL_H */
#endif /* SERIAL_H */

6
boards/mulle/include/periph_conf.h

@ -19,8 +19,8 @@
* @author Hauke Petersen <hauke.petersen@fu-berlin.de>
*/
#ifndef MULLE_PERIPH_CONF_H
#define MULLE_PERIPH_CONF_H
#ifndef PERIPH_CONF_H
#define PERIPH_CONF_H
#include "periph_cpu.h"
@ -374,5 +374,5 @@ static const spi_conf_t spi_config[] = {
}
#endif
#endif /* MULLE_PERIPH_CONF_H */
#endif /* PERIPH_CONF_H */
/** @} */

2
boards/nrf51dongle/include/board.h

@ -72,5 +72,5 @@ void board_init(void);
}
#endif
#endif /** BOARD_H */
#endif /* BOARD_H */
/** @} */

2
boards/nrf52840dk/include/board.h

@ -78,5 +78,5 @@ void board_init(void);
}
#endif
#endif /** BOARD_H */
#endif /* BOARD_H */
/** @} */

2
boards/nrf52840dk/include/periph_conf.h

@ -98,4 +98,4 @@ static const spi_conf_t spi_config[] = {
}
#endif
#endif /* __PERIPH_CONF_H */
#endif /* PERIPH_CONF_H */

2
boards/nrf52dk/include/board.h

@ -77,5 +77,5 @@ void board_init(void);
}
#endif
#endif /** BOARD_H */
#endif /* BOARD_H */
/** @} */

2
boards/nrf52dk/include/periph_conf.h

@ -98,4 +98,4 @@ static const spi_conf_t spi_config[] = {
}
#endif
#endif /* __PERIPH_CONF_H */
#endif /* PERIPH_CONF_H */

2
boards/nrf6310/include/board.h

@ -63,5 +63,5 @@ void board_init(void);
}
#endif
#endif /** BOARD_H */
#endif /* BOARD_H */
/** @} */

6
boards/nucleo-f411/include/board.h

@ -18,8 +18,8 @@
* @author Alexandre Abadie <alexandre.abadie@inria.fr>
*/
#ifndef BOARD_H_
#define BOARD_H_
#ifndef BOARD_H
#define BOARD_H
#include "board_common.h"
@ -41,5 +41,5 @@ extern "C" {
}
#endif
#endif /* BOARD_H_ */
#endif /* BOARD_H */
/** @} */

6
boards/nucleo-f411/include/periph_conf.h

@ -16,8 +16,8 @@
* @author Alexandre Abadie <alexandre.abadie@inria.fr>
*/
#ifndef PERIPH_CONF_H_
#define PERIPH_CONF_H_
#ifndef PERIPH_CONF_H
#define PERIPH_CONF_H
#include "periph_cpu.h"
@ -244,5 +244,5 @@ static const spi_conf_t spi_config[] = {
}
#endif
#endif /* PERIPH_CONF_H_ */
#endif /* PERIPH_CONF_H */
/** @} */

6
boards/nucleo32-f031/include/board.h

@ -20,8 +20,8 @@
* @author Vincent Dupont <vincent@otakeys.com>
*/
#ifndef BOARD_H_
#define BOARD_H_
#ifndef BOARD_H
#define BOARD_H
#include "board_common.h"
@ -33,5 +33,5 @@ extern "C" {
}
#endif
#endif /* BOARD_H_ */
#endif /* BOARD_H */
/** @} */

6
boards/nucleo32-f031/include/periph_conf.h

@ -17,8 +17,8 @@
* @author Vincent Dupont <vincent@otakeys.com>
*/
#ifndef PERIPH_CONF_H_
#define PERIPH_CONF_H_
#ifndef PERIPH_CONF_H
#define PERIPH_CONF_H
#include "periph_cpu.h"
@ -200,5 +200,5 @@ static const spi_conf_t spi_config[] = {
}
#endif
#endif /* PERIPH_CONF_H_ */
#endif /* PERIPH_CONF_H */
/** @} */

2
boards/pca10000/include/board.h

@ -72,5 +72,5 @@ void board_init(void);
}
#endif
#endif /** BOARD_H */
#endif /* BOARD_H */
/** @} */

6
boards/pic32-wifire/include/board.h

@ -25,8 +25,8 @@
* @author Neil Jones <Neil.Jones@imgtec.com>
*/
#ifndef _BOARD_H_
#define _BOARD_H_
#ifndef BOARD_H
#define BOARD_H
#include "periph_conf.h"
@ -56,5 +56,5 @@ void board_init(void);
}
#endif
#endif /* _BOARD_H_ */
#endif /* BOARD_H */
/** @} */

6
boards/pic32-wifire/include/periph_conf.h

@ -19,8 +19,8 @@
*
* @author Neil Jones <Neil.Jones@imgtec.com>
*/
#ifndef _PERIPH_CONF_H_
#define _PERIPH_CONF_H_
#ifndef PERIPH_CONF_H
#define PERIPH_CONF_H
#include "periph_cpu.h"
@ -60,5 +60,5 @@ extern "C" {
}
#endif
#endif
#endif /* PERIPH_CONF_H */
/** @} */

6
boards/qemu-i386/include/board.h

@ -18,8 +18,8 @@
* @author René Kijewski <rene.kijewski@fu-berlin.de>
*/
#ifndef QEMU_I386_BOARD_H
#define QEMU_I386_BOARD_H
#ifndef BOARD_H
#define BOARD_H
#ifdef __cplusplus
extern "C" {
@ -37,7 +37,7 @@ extern "C" {
}
#endif
#endif /* QEMU_I386_BOARD_H */
#endif /* BOARD_H */
/**
* @}

6
boards/qemu-i386/include/cpu_conf.h

@ -16,8 +16,8 @@
* @author René Kijewski <rene.kijewski@fu-berlin.de>
*/
#ifndef QEMU_I386_CPU_CONF_H
#define QEMU_I386_CPU_CONF_H
#ifndef CPU_CONF_H
#define CPU_CONF_H
#ifdef __cplusplus
extern "C" {
@ -35,6 +35,6 @@ extern "C" {
}
#endif
#endif /* QEMU_I386_CPU_CONF_H */
#endif /* CPU_CONF_H */
/** @} */

2
boards/saml21-xpro/include/board.h

@ -55,5 +55,5 @@ void board_init(void);
}
#endif
#endif /** BOARD_H */
#endif /* BOARD_H */
/** @} */

6
boards/telosb/include/board.h

@ -25,8 +25,8 @@
* @author Hauke Petersen <hauke.petersen@fu-berlin.de>
*/
#ifndef TELOSB_BOARD_H
#define TELOSB_BOARD_H
#ifndef BOARD_H
#define BOARD_H
#include "cpu.h"
@ -116,4 +116,4 @@ extern "C" {
#endif
/** @} */
#endif /* TELOSB_BOARD_H */
#endif /* BOARD_H */

6
boards/wsn430-v1_3b/include/board.h

@ -25,8 +25,8 @@
* @author Hauke Petersen <hauke.petersen@fu-berlin.de>
*/
#ifndef WSN_BOARD_H
#define WSN_BOARD_H
#ifndef BOARD_H
#define BOARD_H
#include "board_common.h"
@ -60,4 +60,4 @@ extern "C" {
#include <msp430x16x.h>
/** @} */
#endif /* WSN_BOARD_H */
#endif /* BOARD_H */

6
boards/wsn430-v1_4/include/board.h

@ -25,8 +25,8 @@
* @author Hauke Petersen <hauke.petersen@fu-berlin.de>
*/
#ifndef WSN_BOARD_H
#define WSN_BOARD_H
#ifndef BOARD_H
#define BOARD_H
#include "board_common.h"
@ -60,4 +60,4 @@ extern "C" {
#include <msp430x16x.h>
/** @} */
#endif /* WSN_BOARD_H */
#endif /* BOARD_H */

2
boards/x86-multiboot-common/include/multiboot.h

@ -234,5 +234,5 @@ typedef struct multiboot_mod_list multiboot_module_t;
}
#endif
#endif /** ! MULTIBOOT_H */
#endif /* MULTIBOOT_H */
/** @} */

6
boards/z1/include/board.h

@ -7,8 +7,8 @@
* directory for more details.
*/
#ifndef Z1_BOARD_H
#define Z1_BOARD_H
#ifndef BOARD_H
#define BOARD_H
/**
* @defgroup boards_z1 Zolertia Z1
@ -123,4 +123,4 @@ extern "C" {
#endif
/** @} */
#endif /* Z1_BOARD_H */
#endif /* BOARD_H */

6
core/include/arch/irq_arch.h

@ -22,8 +22,8 @@
* @author Hauke Petersen <hauke.petersen@fu-berlin.de>
*/
#ifndef IRQ_ARCH_H
#define IRQ_ARCH_H
#ifndef ARCH_IRQ_ARCH_H
#define ARCH_IRQ_ARCH_H
#ifdef __cplusplus
extern "C" {
@ -77,5 +77,5 @@ int irq_arch_in(void);
}
#endif
#endif /* IRQ_ARCH_H */
#endif /* ARCH_IRQ_ARCH_H */
/** @} */

6
core/include/arch/panic_arch.h

@ -16,8 +16,8 @@
* @author Oliver Hahm <oliver.hahm@inria.fr>
*/
#ifndef PANIC_ARCH_H
#define PANIC_ARCH_H
#ifndef ARCH_PANIC_ARCH_H
#define ARCH_PANIC_ARCH_H
#ifdef __cplusplus
extern "C" {
@ -35,5 +35,5 @@ void panic_arch(void);
}
#endif
#endif /* REBOOT_ARCH_H */
#endif /* ARCH_PANIC_ARCH_H */
/** @} */

6
core/include/arch/thread_arch.h

@ -16,8 +16,8 @@
* @author Hauke Petersen <hauke.petersen@fu-berlin.de>
*/
#ifndef THREAD_ARCH_H
#define THREAD_ARCH_H
#ifndef ARCH_THREAD_ARCH_H
#define ARCH_THREAD_ARCH_H
#include "kernel_defines.h"
@ -92,5 +92,5 @@ void thread_arch_yield(void);
}
#endif
#endif /* THREAD_ARCH_H */
#endif /* ARCH_THREAD_ARCH_H */
/** @} */

6
core/include/native_sched.h

@ -20,8 +20,8 @@
* @author Raphael Hiesgen <raphael.hiesgen@haw-hamburg.de>
*/
#ifndef NATIVE_SCHEDULER_H
#define NATIVE_SCHEDULER_H
#ifndef NATIVE_SCHED_H
#define NATIVE_SCHED_H
#ifdef __cplusplus
extern "C" {
@ -54,5 +54,5 @@ inline int sched_yield(void)
}
#endif
#endif /* NATIVE_SCHEDULER_H */
#endif /* NATIVE_SCHED_H */
/** @} */

6
core/include/priority_queue.h

@ -16,8 +16,8 @@
* @author Kaspar Schleiser <kaspar@schleiser.de>
*/
#ifndef QUEUE_H
#define QUEUE_H
#ifndef PRIORITY_QUEUE_H
#define PRIORITY_QUEUE_H
#include <stddef.h>
#include <stdint.h>
@ -132,4 +132,4 @@ void priority_queue_print_node(priority_queue_t *root);
#endif
/** @} */
#endif /* QUEUE_H */
#endif /* PRIORITY_QUEUE_H */

6
core/include/rmutex.h

@ -18,8 +18,8 @@
*
*/
#ifndef RMUTEX_H_
#define RMUTEX_H_
#ifndef RMUTEX_H
#define RMUTEX_H
#include <stdatomic.h>
@ -106,5 +106,5 @@ void rmutex_unlock(rmutex_t *rmutex);
}
#endif
#endif /* RMUTEX_H_ */
#endif /* RMUTEX_H */
/** @} */

6
core/include/sched.h

@ -77,8 +77,8 @@
* @author Kaspar Schleiser <kaspar@schleiser.de>
*/
#ifndef SCHEDULER_H
#define SCHEDULER_H
#ifndef SCHED_H
#define SCHED_H
#include <stddef.h>
#include "kernel_defines.h"
@ -202,5 +202,5 @@ void sched_register_cb(void (*callback)(uint32_t, uint32_t));
}
#endif
#endif /* SCHEDULER_H */
#endif /* SCHED_H */
/** @} */

6
core/include/thread_flags.h

@ -47,8 +47,8 @@
*
* @author Kaspar Schleiser <kaspar@schleiser.de>
*/
#ifndef THREAD_FLAG_H
#define THREAD_FLAG_H
#ifndef THREAD_FLAGS_H
#define THREAD_FLAGS_H
#include "kernel_types.h"
#include "sched.h" /* for thread_t typedef */
@ -152,4 +152,4 @@ int thread_flags_wake(thread_t *thread);
#endif
/** @} */
#endif /* THREAD_FLAG_H */
#endif /* THREAD_FLAGS_H */

6
cpu/atmega_common/avr-libc-extra/inttypes.h

@ -15,8 +15,8 @@
*
* @author Martine Lenders <mlenders@inf.fu-berlin.de>
*/
#ifndef RIOT_INTTYPES_H
#define RIOT_INTTYPES_H
#ifndef INTTYPES_H
#define INTTYPES_H
#include_next <inttypes.h>
@ -33,5 +33,5 @@ extern "C" {
}
#endif
#endif /* RIOT_INTTYPES_H */
#endif /* INTTYPES_H */
/** @} */

2
cpu/atmega_common/avr-libc-extra/time.h

@ -524,7 +524,7 @@ extern "C" {
}
#endif
#endif /* TIME_H */
#endif /* TIME_H */
/**
\endcond

6
cpu/atmega_common/include/cpu.h

@ -24,8 +24,8 @@
* @author Kaspar Schleiser <kaspar@schleiser.de>
*/
#ifndef ATMEGA_COMMON_H
#define ATMEGA_COMMON_H
#ifndef CPU_H
#define CPU_H
#include <stdio.h>
#include <stdint.h>
@ -83,5 +83,5 @@ static inline void cpu_print_last_instruction(void)
}
#endif
#endif /* ATMEGA_COMMON_H */
#endif /* CPU_H */
/** @} */

6
cpu/atmega_common/include/sys/stat.h

@ -12,8 +12,8 @@
* @author Joakim Nohlgård <joakim.nohlgard@eistec.se>
*/
#ifndef SYS_STAT_H_
#define SYS_STAT_H_
#ifndef SYS_STAT_H
#define SYS_STAT_H
#include <time.h> /* for struct timespec */
#include <sys/types.h> /* for fsblkcnt_t, fsfilcnt_t */
@ -115,6 +115,6 @@ int utimensat(int, const char *, const struct timespec [2], int);
}
#endif
#endif /* SYS_STAT_H_ */
#endif /* SYS_STAT_H */
/** @} */

6
cpu/atmega_common/include/sys/time.h

@ -6,8 +6,8 @@
* directory for more details.
*/
#ifndef ATMEGA_TIME_H
#define ATMEGA_TIME_H
#ifndef SYS_TIME_H
#define SYS_TIME_H
#include <sys/types.h>
#include <time.h>
@ -29,4 +29,4 @@ struct timeval {
}
#endif
#endif /* ATMEGA_TIME_H */
#endif /* SYS_TIME_H */

6
cpu/atmega_common/include/sys/types.h

@ -7,8 +7,8 @@
* directory for more details.
*/
#ifndef SYS_TYPES_H_
#define SYS_TYPES_H_
#ifndef SYS_TYPES_H
#define SYS_TYPES_H
#include <stdint.h>
#include <stddef.h>
@ -44,4 +44,4 @@ typedef uint32_t useconds_t; /**< Used for time in microseconds */
}
#endif
#endif /* SYS_TYPES_H_ */
#endif /* SYS_TYPES_H */

6
cpu/cc2538/include/cc2538.h

@ -16,8 +16,8 @@
* @author Ian Martin <ian@locicontrols.com>
*/
#ifndef _CC2538_
#define _CC2538_
#ifndef CC2538_H
#define CC2538_H
#ifdef __cplusplus
extern "C" {
@ -815,6 +815,6 @@ typedef volatile uint32_t cc2538_reg_t; /**< Least-significant 32 bits of the IE
}
#endif
#endif /* _CC2538_ */
#endif /* CC2538_H */
/*@}*/

6
cpu/cc2538/include/cc2538_gptimer.h

@ -17,8 +17,8 @@
* @author Ian Martin <ian@locicontrols.com>
*/
#ifndef GPTIMER_H
#define GPTIMER_H
#ifndef CC2538_GPTIMER_H
#define CC2538_GPTIMER_H
#include <stdint.h>
@ -180,6 +180,6 @@ void isr_timer3_chan1(void); /**< RIOT Timer 3 Channel 1 Interrup
} /* end extern "C" */
#endif
#endif /* GPTIMER_H */
#endif /* CC2538_GPTIMER_H */
/* @} */

6
cpu/cc26x0/include/cc26x0.h

@ -16,8 +16,8 @@
* @author Leon M. George <leon@georgemail.eu>
*/
#ifndef CC26x0_H
#define CC26x0_H
#ifndef CC26X0_H
#define CC26X0_H
#include <stdint.h>
@ -112,6 +112,6 @@ typedef enum IRQn
}
#endif
#endif /* CC26x0_H */
#endif /* CC26X0_H */
/*@}*/

6
cpu/cc26x0/include/cc26x0_aux.h

@ -13,8 +13,8 @@
* @brief CC26x0 AUX register definitions
*/
#ifndef CC26x0_AUX_H
#define CC26x0_AUX_H
#ifndef CC26X0_AUX_H
#define CC26X0_AUX_H
#include <stdbool.h>
@ -253,6 +253,6 @@ typedef struct {
} /* end extern "C" */
#endif
#endif /* CC26x0_AUX_H */
#endif /* CC26X0_AUX_H */
/** @}*/

6
cpu/cc26x0/include/cc26x0_ccfg.h

@ -13,8 +13,8 @@
* @brief CC26x0 CCFG register definitions
*/
#ifndef CC26x0_CCFG_H
#define CC26x0_CCFG_H
#ifndef CC26X0_CCFG_H
#define CC26X0_CCFG_H
#include <cc26x0.h>
@ -65,6 +65,6 @@ typedef struct {
} /* end extern "C" */
#endif
#endif /* CC26x0_CCFG_H */
#endif /* CC26X0_CCFG_H */
/*@}*/

6
cpu/cc26x0/include/cc26x0_fcfg.h

@ -13,8 +13,8 @@
* @brief CC26x0 FCFG register definitions
*/
#ifndef CC26x0_FCFG_H
#define CC26x0_FCFG_H
#ifndef CC26X0_FCFG_H
#define CC26X0_FCFG_H
#include <cc26x0.h>
@ -134,6 +134,6 @@ typedef struct {
} /* end extern "C" */
#endif
#endif /* CC26x0_FCFG_H */
#endif /* CC26X0_FCFG_H */
/*@}*/

6
cpu/cc26x0/include/cc26x0_gpio.h

@ -16,8 +16,8 @@
*
*/
#ifndef CC26x0_GPIO_H
#define CC26x0_GPIO_H
#ifndef CC26X0_GPIO_H
#define CC26X0_GPIO_H
#include "cc26x0.h"
@ -58,6 +58,6 @@ typedef struct {
} /* end extern "C" */
#endif
#endif /* CC26x0_GPIO_H */
#endif /* CC26X0_GPIO_H */
/** @} */

6
cpu/cc26x0/include/cc26x0_gpt.h

@ -16,8 +16,8 @@
* @author Leon George <leon@georgemail.eu>
*/
#ifndef CC26x0_GPT_H
#define CC26x0_GPT_H
#ifndef CC26X0_GPT_H
#define CC26X0_GPT_H
#include "cc26x0.h"
@ -207,5 +207,5 @@ typedef struct {
}
#endif
#endif /* CC26x0_GPT_H */
#endif /* CC26X0_GPT_H */
/** @} */

6
cpu/cc26x0/include/cc26x0_i2c.h

@ -16,8 +16,8 @@
* @author Leon George <leon@georgemail.eu>
*/
#ifndef CC26x0_I2C_H
#define CC26x0_I2C_H
#ifndef CC26X0_I2C_H
#define CC26X0_I2C_H
#include "cc26x0.h"
@ -67,6 +67,6 @@ typedef struct {
}
#endif
#endif /* CC26x0_I2C_H */
#endif /* CC26X0_I2C_H */
/*@}*/

6
cpu/cc26x0/include/cc26x0_ioc.h

@ -16,8 +16,8 @@
* @author Leon George <leon@georgemail.eu>
*/
#ifndef CC26x0_IOC_H
#define CC26x0_IOC_H
#ifndef CC26X0_IOC_H
#define CC26X0_IOC_H
#include "cc26x0.h"
@ -159,6 +159,6 @@ typedef struct {
}
#endif
#endif /* CC26x0_IOC_H */
#endif /* CC26X0_IOC_H */
/*@}*/

6
cpu/cc26x0/include/cc26x0_prcm.h

@ -14,8 +14,8 @@
* @brief CC26x0 PRCM register definitions
*/
#ifndef CC26x0_PRCM_H
#define CC26x0_PRCM_H
#ifndef CC26X0_PRCM_H
#define CC26X0_PRCM_H
#include <cc26x0.h>
@ -317,6 +317,6 @@ typedef struct {
} /* end extern "C" */
#endif
#endif /* CC26x0_PRCM_H */
#endif /* CC26X0_PRCM_H */
/*@}*/

6
cpu/cc26x0/include/cc26x0_uart.h

@ -15,8 +15,8 @@
*
*/
#ifndef CC26x0_UART_H
#define CC26x0_UART_H
#ifndef CC26X0_UART_H
#define CC26X0_UART_H
#include "cc26x0.h"
@ -129,5 +129,5 @@ typedef struct {
} /* end extern "C" */
#endif
#endif /* CC26x8_UART_H */
#endif /* CC26X0_UART_H */
/** @} */

6
cpu/cc26x0/include/cc26x0_vims.h

@ -14,8 +14,8 @@
* @brief CC26x0 VIMS register definitions
*/
#ifndef CC26x0_VIMS_H
#define CC26x0_VIMS_H
#ifndef CC26X0_VIMS_H
#define CC26X0_VIMS_H
#ifdef __cplusplus
extern "C" {
@ -232,6 +232,6 @@ typedef struct {
}
#endif
#endif /* CC26x0_VIMS_H */
#endif /* CC26X0_VIMS_H */
/*@}*/

6
cpu/cc26x0/include/cc26x0_wdt.h

@ -14,8 +14,8 @@
* @brief CC26x0 WDT register definitions
*/
#ifndef CC26x0_WDT_H
#define CC26x0_WDT_H
#ifndef CC26X0_WDT_H
#define CC26X0_WDT_H
#include <cc26x0.h>
@ -51,6 +51,6 @@ typedef struct {
} /* end extern "C" */
#endif
#endif /* CC26x0_WDT_H */
#endif /* CC26X0_WDT_H */
/*@}*/

2
cpu/cc430/include/cc430-adc.h

@ -49,4 +49,4 @@ extern uint8_t adc12_data_ready;
}
#endif
#endif
#endif /* CC430_ADC_H */

2
cpu/cc430/include/cc430-rtc.h

@ -48,4 +48,4 @@ void rtc_remove_alarm(void);
}
#endif
#endif
#endif /* CC430_RTC_H */

6
cpu/cc430/include/periph_cpu.h

@ -16,8 +16,8 @@
* @author Hauke Petersen <hauke.petersen@fu-berlin.de>
*/
#ifndef CPU_PERIPH_H
#define CPU_PERIPH_H
#ifndef PERIPH_CPU_H
#define PERIPH_CPU_H
#include "cpu.h"
#include "cc430_regs.h"
@ -32,5 +32,5 @@ extern "C" {
}
#endif
#endif /* CPU_PERIPH_H */
#endif /* PERIPH_CPU_H */
/** @} */

6
cpu/cortexm_common/include/vectors_cortexm.h

@ -16,8 +16,8 @@
* @author Hauke Petersen <hauke.petersen@fu-berlin.de>
*/
#ifndef VECTORS_DEFAULT_H
#define VECTORS_DEFAULT_H
#ifndef VECTORS_CORTEXM_H
#define VECTORS_CORTEXM_H
#ifdef __cplusplus
extern "C" {
@ -122,5 +122,5 @@ void dummy_handler_default(void);
}
#endif
#endif /* VECTORS_DEFAULT_H */
#endif /* VECTORS_CORTEXM_H */
/** @} */

2
cpu/ezr32wg/include/cpu_conf.h

@ -46,5 +46,5 @@ extern "C" {