From cff04c8b4ffec3d9672db5dba3aea24a6e830c16 Mon Sep 17 00:00:00 2001 From: Raj Manvar Date: Thu, 18 Feb 2016 20:41:57 +0530 Subject: [PATCH] board cpu core: header file include guards repaired --- boards/airfy-beacon/include/board.h | 4 ++-- boards/airfy-beacon/include/periph_conf.h | 4 ++-- boards/chronos/include/board.h | 6 +++--- boards/msb-430/include/board.h | 6 +++--- boards/msb-430h/include/board.h | 6 +++--- boards/pca10000/include/periph_conf.h | 4 ++-- boards/samr21-xpro/include/board.h | 4 ++-- boards/samr21-xpro/include/periph_conf.h | 4 ++-- boards/telosb/include/board.h | 6 +++--- boards/wsn430-v1_3b/include/board.h | 6 +++--- boards/wsn430-v1_4/include/board.h | 6 +++--- boards/yunjia-nrf51822/include/board.h | 4 ++-- boards/yunjia-nrf51822/include/periph_conf.h | 4 ++-- boards/z1/include/board.h | 6 +++--- core/include/atomic.h | 6 +++--- core/include/attributes.h | 6 +++--- core/include/bitarithm.h | 6 +++--- core/include/byteorder.h | 6 +++--- core/include/irq.h | 6 +++--- core/include/kernel.h | 6 +++--- core/include/lifo.h | 6 +++--- core/include/lpm.h | 6 +++--- core/include/msg.h | 6 +++--- core/include/mutex.h | 6 +++--- core/include/tcb.h | 6 +++--- cpu/atmega2560/include/cpu_conf.h | 6 +++--- cpu/atmega_common/include/cpu.h | 6 +++--- cpu/cc2538/include/cpu_conf.h | 6 +++--- cpu/cortexm_common/include/core_cm0.h | 2 +- cpu/cortexm_common/include/core_cmFunc.h | 6 +++--- cpu/cortexm_common/include/core_cmInstr.h | 6 +++--- cpu/cortexm_common/include/core_cmSimd.h | 6 +++--- cpu/ezr32wg/include/ezr32wg330f256r60.h | 6 +++--- cpu/k64f/include/cpu_conf.h | 6 +++--- cpu/kinetis_common/include/mcg.h | 6 +++--- cpu/kw2x/include/cpu_conf.h | 6 +++--- cpu/lpc11u34/include/LPC11Uxx.h | 6 +++--- cpu/lpc11u34/include/cpu_conf.h | 6 +++--- cpu/lpc1768/include/LPC17xx.h | 6 +++--- cpu/lpc1768/include/cpu_conf.h | 6 +++--- cpu/lpc2387/include/cpu.h | 6 +++--- cpu/lpc2387/include/i2c.h | 6 +++--- cpu/lpc2387/include/lpc2387.h | 6 +++--- cpu/native/include/clang_compat.h | 2 +- cpu/nrf51/include/cpu_conf.h | 6 +++--- cpu/nrf51/include/nrf51_bitfields.h | 4 ++-- cpu/sam3/include/cpu_conf.h | 6 +++--- cpu/sam3/include/sam3x8e.h | 6 +++--- cpu/samd21/include/cpu_conf.h | 6 +++--- cpu/samd21/include/samd21.h | 4 ++-- cpu/saml21/include/atmel/saml21e15a.h | 4 ++-- cpu/saml21/include/atmel/saml21e16a.h | 4 ++-- cpu/saml21/include/atmel/saml21e17a.h | 4 ++-- cpu/saml21/include/atmel/saml21g16a.h | 4 ++-- cpu/saml21/include/atmel/saml21g17a.h | 4 ++-- cpu/saml21/include/atmel/saml21g18a.h | 4 ++-- cpu/saml21/include/atmel/saml21j16a.h | 4 ++-- cpu/saml21/include/atmel/saml21j17a.h | 4 ++-- cpu/saml21/include/atmel/saml21j18a.h | 4 ++-- cpu/saml21/include/cpu_conf.h | 6 +++--- cpu/stellaris_common/include/cortex-m4-def.h | 6 +++--- cpu/stellaris_common/include/hw_adc.h | 6 +++--- cpu/stellaris_common/include/hw_gpio.h | 6 +++--- cpu/stellaris_common/include/hw_hibernate.h | 6 +++--- cpu/stellaris_common/include/hw_i2c.h | 6 +++--- cpu/stellaris_common/include/hw_ints.h | 6 +++--- cpu/stellaris_common/include/hw_memmap.h | 6 +++--- cpu/stellaris_common/include/hw_nvic.h | 6 +++--- cpu/stellaris_common/include/hw_pwm.h | 6 +++--- cpu/stellaris_common/include/hw_ssi.h | 6 +++--- cpu/stellaris_common/include/hw_sysctl.h | 6 +++--- cpu/stellaris_common/include/hw_sysexc.h | 6 +++--- cpu/stellaris_common/include/hw_timer.h | 6 +++--- cpu/stellaris_common/include/hw_types.h | 6 +++--- cpu/stellaris_common/include/hw_uart.h | 6 +++--- cpu/stellaris_common/include/hw_watchdog.h | 6 +++--- cpu/stellaris_common/include/stellaris_periph/adc.h | 6 +++--- cpu/stellaris_common/include/stellaris_periph/comp.h | 6 +++--- cpu/stellaris_common/include/stellaris_periph/cpu.h | 6 +++--- cpu/stellaris_common/include/stellaris_periph/fpu.h | 6 +++--- cpu/stellaris_common/include/stellaris_periph/gpio.h | 6 +++--- cpu/stellaris_common/include/stellaris_periph/hibernate.h | 6 +++--- cpu/stellaris_common/include/stellaris_periph/i2c.h | 6 +++--- cpu/stellaris_common/include/stellaris_periph/interrupt.h | 6 +++--- cpu/stellaris_common/include/stellaris_periph/pin_map.h | 6 +++--- cpu/stellaris_common/include/stellaris_periph/pwm.h | 6 +++--- cpu/stellaris_common/include/stellaris_periph/rom.h | 6 +++--- cpu/stellaris_common/include/stellaris_periph/rom_map.h | 6 +++--- cpu/stellaris_common/include/stellaris_periph/ssi.h | 6 +++--- cpu/stellaris_common/include/stellaris_periph/sysctl.h | 6 +++--- cpu/stellaris_common/include/stellaris_periph/sysexc.h | 6 +++--- cpu/stellaris_common/include/stellaris_periph/systick.h | 6 +++--- cpu/stellaris_common/include/stellaris_periph/timer.h | 6 +++--- cpu/stellaris_common/include/stellaris_periph/uart.h | 6 +++--- cpu/stellaris_common/include/stellaris_periph/watchdog.h | 6 +++--- cpu/stm32f0/include/cpu_conf.h | 6 +++--- cpu/stm32f0/include/stm32f051x8.h | 6 +++--- cpu/stm32f0/include/stm32f091xc.h | 6 +++--- cpu/stm32f1/include/stm32f103xe.h | 6 +++--- cpu/stm32f3/include/cpu_conf.h | 6 +++--- cpu/stm32f3/include/stm32f303xc.h | 6 +++--- cpu/stm32f3/include/stm32f303xe.h | 6 +++--- cpu/stm32f3/include/stm32f334x8.h | 6 +++--- cpu/stm32f4/include/cpu_conf.h | 6 +++--- cpu/stm32f4/include/stm32f401xe.h | 6 +++--- cpu/stm32f4/include/stm32f407xx.h | 6 +++--- cpu/stm32f4/include/stm32f415xx.h | 6 +++--- cpu/stm32l1/include/stm32l1xx.h | 6 +++--- cpu/x86/include/x86_pci_init.h | 4 ++-- dist/tools/ethos/.gitignore | 1 + 110 files changed, 305 insertions(+), 304 deletions(-) create mode 100644 dist/tools/ethos/.gitignore diff --git a/boards/airfy-beacon/include/board.h b/boards/airfy-beacon/include/board.h index 95603988d85d..1ac16db6b997 100644 --- a/boards/airfy-beacon/include/board.h +++ b/boards/airfy-beacon/include/board.h @@ -18,8 +18,8 @@ * @author Christian Mehlis */ -#ifndef BOARD_H_ -#define BOARD_H_ +#ifndef BOARD_H +#define BOARD_H #include "cpu.h" diff --git a/boards/airfy-beacon/include/periph_conf.h b/boards/airfy-beacon/include/periph_conf.h index 479cd69ee1e2..27b96225315c 100644 --- a/boards/airfy-beacon/include/periph_conf.h +++ b/boards/airfy-beacon/include/periph_conf.h @@ -17,8 +17,8 @@ * @author Hauke Petersen */ -#ifndef PERIPH_CONF_H_ -#define PERIPH_CONF_H_ +#ifndef PERIPH_CONF_H +#define PERIPH_CONF_H #ifdef __cplusplus extern "C" { diff --git a/boards/chronos/include/board.h b/boards/chronos/include/board.h index e58ea63f1b7b..66cc72a89694 100644 --- a/boards/chronos/include/board.h +++ b/boards/chronos/include/board.h @@ -18,8 +18,8 @@ * @author unknwon */ -#ifndef CHRONOS_BOARD_H_ -#define CHRONOS_BOARD_H_ +#ifndef CHRONOS_BOARD_H +#define CHRONOS_BOARD_H #include @@ -52,5 +52,5 @@ extern "C" { } #endif -#endif /* _CHRONOS_BOARD_H_ */ +#endif /* CHRONOS_BOARD_H */ /** @} */ diff --git a/boards/msb-430/include/board.h b/boards/msb-430/include/board.h index 3d93516dfd2b..75ca8271eb09 100644 --- a/boards/msb-430/include/board.h +++ b/boards/msb-430/include/board.h @@ -23,8 +23,8 @@ * @author Freie Universität Berlin, Computer Systems & Telematics, FeuerWhere project */ -#ifndef MSB_BOARD_H_ -#define MSB_BOARD_H_ +#ifndef MSB_BOARD_H +#define MSB_BOARD_H #include "board-conf.h" @@ -73,4 +73,4 @@ extern "C" { #include "board-conf.h" /** @} */ -#endif /* MSB_BOARD_H_ */ +#endif /* MSB_BOARD_H */ diff --git a/boards/msb-430h/include/board.h b/boards/msb-430h/include/board.h index cc3b4569297c..31343b837559 100644 --- a/boards/msb-430h/include/board.h +++ b/boards/msb-430h/include/board.h @@ -19,8 +19,8 @@ * @author Hauke Petersen */ -#ifndef MSB_BOARD_H_ -#define MSB_BOARD_H_ +#ifndef MSB_BOARD_H +#define MSB_BOARD_H #ifdef __cplusplus extern "C" { @@ -67,4 +67,4 @@ extern "C" { #include "board-conf.h" /** @} */ -#endif /* MSB_BOARD_H_ */ +#endif /* MSB_BOARD_H */ diff --git a/boards/pca10000/include/periph_conf.h b/boards/pca10000/include/periph_conf.h index 3a8900cfdbcc..1f53ecaa857d 100644 --- a/boards/pca10000/include/periph_conf.h +++ b/boards/pca10000/include/periph_conf.h @@ -18,8 +18,8 @@ * @author Hauke Petersen */ -#ifndef PERIPH_CONF_H_ -#define PERIPH_CONF_H_ +#ifndef PERIPH_CONF_H +#define PERIPH_CONF_H #ifdef __cplusplus extern "C" { diff --git a/boards/samr21-xpro/include/board.h b/boards/samr21-xpro/include/board.h index 1ad52c77ccb9..5e89c60edbc6 100644 --- a/boards/samr21-xpro/include/board.h +++ b/boards/samr21-xpro/include/board.h @@ -19,8 +19,8 @@ * @author Thomas Eichinger */ -#ifndef BOARD_H_ -#define BOARD_H_ +#ifndef BOARD_H +#define BOARD_H #include "cpu.h" #include "periph_conf.h" diff --git a/boards/samr21-xpro/include/periph_conf.h b/boards/samr21-xpro/include/periph_conf.h index 79a9c30ae705..035ef27bca1c 100644 --- a/boards/samr21-xpro/include/periph_conf.h +++ b/boards/samr21-xpro/include/periph_conf.h @@ -19,8 +19,8 @@ * @author Peter Kietzmann */ -#ifndef PERIPH_CONF_H_ -#define PERIPH_CONF_H_ +#ifndef PERIPH_CONF_H +#define PERIPH_CONF_H #include diff --git a/boards/telosb/include/board.h b/boards/telosb/include/board.h index 1a671db62da7..84861444de8b 100644 --- a/boards/telosb/include/board.h +++ b/boards/telosb/include/board.h @@ -25,8 +25,8 @@ * @author Hauke Petersen */ -#ifndef TELOSB_BOARD_H_ -#define TELOSB_BOARD_H_ +#ifndef TELOSB_BOARD_H +#define TELOSB_BOARD_H #ifdef __cplusplus extern "C" { @@ -81,4 +81,4 @@ extern "C" { #include /** @} */ -#endif /* TELOSB_BOARD_H_ */ +#endif /* TELOSB_BOARD_H */ diff --git a/boards/wsn430-v1_3b/include/board.h b/boards/wsn430-v1_3b/include/board.h index 20f73d5ef14b..6da3cf9c10e5 100644 --- a/boards/wsn430-v1_3b/include/board.h +++ b/boards/wsn430-v1_3b/include/board.h @@ -25,8 +25,8 @@ * @author Hauke Petersen */ -#ifndef WSN_BOARD_H_ -#define WSN_BOARD_H_ +#ifndef WSN_BOARD_H +#define WSN_BOARD_H #include "board-conf.h" @@ -83,4 +83,4 @@ extern "C" { #include /** @} */ -#endif /* WSN_BOARD_H_ */ +#endif /* WSN_BOARD_H */ diff --git a/boards/wsn430-v1_4/include/board.h b/boards/wsn430-v1_4/include/board.h index 84199f3576dd..c280725159b8 100644 --- a/boards/wsn430-v1_4/include/board.h +++ b/boards/wsn430-v1_4/include/board.h @@ -25,8 +25,8 @@ * @author Hauke Petersen */ -#ifndef WSN_BOARD_H_ -#define WSN_BOARD_H_ +#ifndef WSN_BOARD_H +#define WSN_BOARD_H #include "board-conf.h" @@ -83,4 +83,4 @@ extern "C" { #include /** @} */ -#endif /* WSN_BOARD_H_ */ +#endif /* WSN_BOARD_H */ diff --git a/boards/yunjia-nrf51822/include/board.h b/boards/yunjia-nrf51822/include/board.h index 11463377d647..37d4b925ca3d 100644 --- a/boards/yunjia-nrf51822/include/board.h +++ b/boards/yunjia-nrf51822/include/board.h @@ -18,8 +18,8 @@ * @author Hauke Petersen */ -#ifndef BOARD_H_ -#define BOARD_H_ +#ifndef BOARD_H +#define BOARD_H #include "cpu.h" diff --git a/boards/yunjia-nrf51822/include/periph_conf.h b/boards/yunjia-nrf51822/include/periph_conf.h index 46150300ab7e..cce51fb2d9cc 100644 --- a/boards/yunjia-nrf51822/include/periph_conf.h +++ b/boards/yunjia-nrf51822/include/periph_conf.h @@ -16,8 +16,8 @@ * @author Hauke Petersen */ -#ifndef PERIPH_CONF_H_ -#define PERIPH_CONF_H_ +#ifndef PERIPH_CONF_H +#define PERIPH_CONF_H #ifdef __cplusplus extern "C" { diff --git a/boards/z1/include/board.h b/boards/z1/include/board.h index a5f03e1ba3b9..6d646bfe4bbc 100644 --- a/boards/z1/include/board.h +++ b/boards/z1/include/board.h @@ -7,8 +7,8 @@ * directory for more details. */ -#ifndef Z1_BOARD_H_ -#define Z1_BOARD_H_ +#ifndef Z1_BOARD_H +#define Z1_BOARD_H /** * @defgroup boards_z1 Zolertia Z1 @@ -100,4 +100,4 @@ extern "C" { #endif /** @} */ -#endif /* Z1_BOARD_H_ */ +#endif /* Z1_BOARD_H */ diff --git a/core/include/atomic.h b/core/include/atomic.h index 5fb20fc1d0ad..aa56c4f9dc59 100644 --- a/core/include/atomic.h +++ b/core/include/atomic.h @@ -18,8 +18,8 @@ * @author Joakim Nohlgård */ -#ifndef ATOMIC_H_ -#define ATOMIC_H_ +#ifndef ATOMIC_H +#define ATOMIC_H #ifdef __cplusplus extern "C" { @@ -146,5 +146,5 @@ static inline int atomic_set_to_zero(atomic_int_t *var) } #endif -#endif /* ATOMIC_H_ */ +#endif /* ATOMIC_H */ /** @} */ diff --git a/core/include/attributes.h b/core/include/attributes.h index 1de1cd2316b4..fbdb4d8acd58 100644 --- a/core/include/attributes.h +++ b/core/include/attributes.h @@ -16,8 +16,8 @@ * @author René Kijewski */ -#ifndef ATTRIBUTES_H_ -#define ATTRIBUTES_H_ +#ifndef ATTRIBUTES_H +#define ATTRIBUTES_H #include @@ -86,5 +86,5 @@ } #endif -#endif /* ATTRIBUTES_H_ */ +#endif /* ATTRIBUTES_H */ /** @} */ diff --git a/core/include/bitarithm.h b/core/include/bitarithm.h index 6a8521c0fb91..bd2c6e5f14b4 100644 --- a/core/include/bitarithm.h +++ b/core/include/bitarithm.h @@ -17,8 +17,8 @@ * @author Martine Lenders */ -#ifndef BITARITHM_H_ -#define BITARITHM_H_ +#ifndef BITARITHM_H +#define BITARITHM_H #ifdef __cplusplus extern "C" { @@ -122,5 +122,5 @@ unsigned bitarithm_bits_set(unsigned v); } #endif -#endif /* BITARITHM_H_ */ +#endif /* BITARITHM_H */ /** @} */ diff --git a/core/include/byteorder.h b/core/include/byteorder.h index b081179472e7..fc07c0e16cc9 100644 --- a/core/include/byteorder.h +++ b/core/include/byteorder.h @@ -16,8 +16,8 @@ * @author René Kijewski */ -#ifndef BYTEORDER_H_ -#define BYTEORDER_H_ +#ifndef BYTEORDER_H +#define BYTEORDER_H #include @@ -422,5 +422,5 @@ static inline uint64_t NTOHLL(uint64_t v) } #endif -#endif /* BYTEORDER_H_ */ +#endif /* BYTEORDER_H */ /** @} */ diff --git a/core/include/irq.h b/core/include/irq.h index facc04be0741..7b6b53f23973 100644 --- a/core/include/irq.h +++ b/core/include/irq.h @@ -18,8 +18,8 @@ * @author Freie Universität Berlin, Computer Systems & Telematics */ -#ifndef IRQ_H_ -#define IRQ_H_ +#ifndef IRQ_H +#define IRQ_H #include #include "arch/irq_arch.h" @@ -71,5 +71,5 @@ int inISR(void); } #endif -#endif /* IRQ_H_ */ +#endif /* IRQ_H */ /** @} */ diff --git a/core/include/kernel.h b/core/include/kernel.h index 7ead76272143..4ec827bc8803 100644 --- a/core/include/kernel.h +++ b/core/include/kernel.h @@ -19,8 +19,8 @@ * @author Kaspar Schleiser */ -#ifndef KERNEL_H_ -#define KERNEL_H_ +#ifndef KERNEL_H +#define KERNEL_H #include #include @@ -68,5 +68,5 @@ extern config_t sysconfig; } #endif -#endif /* KERNEL_H_ */ +#endif /* KERNEL_H */ /** @} */ diff --git a/core/include/lifo.h b/core/include/lifo.h index 93ba5411095e..d6c9b8d9e3ca 100644 --- a/core/include/lifo.h +++ b/core/include/lifo.h @@ -20,8 +20,8 @@ * If you insert a value twice the LIFO will break. */ -#ifndef LIFO_H_ -#define LIFO_H_ +#ifndef LIFO_H +#define LIFO_H #ifdef __cplusplus extern "C" { @@ -70,5 +70,5 @@ int lifo_get(int *array); } #endif -#endif /* LIFO_H_ */ +#endif /* LIFO_H */ /** @} */ diff --git a/core/include/lpm.h b/core/include/lpm.h index 24d7ee4d7f23..055f93c6d821 100644 --- a/core/include/lpm.h +++ b/core/include/lpm.h @@ -20,8 +20,8 @@ * @author Freie Universität Berlin, Computer Systems & Telematics */ -#ifndef LPM_H_ -#define LPM_H_ +#ifndef LPM_H +#define LPM_H #include "arch/lpm_arch.h" @@ -68,5 +68,5 @@ enum lpm_mode lpm_get(void); } #endif -#endif /* __LPM_H_ */ +#endif /* LPM_H */ /** @} */ diff --git a/core/include/msg.h b/core/include/msg.h index 274b0f427066..7d41ce37a2c3 100644 --- a/core/include/msg.h +++ b/core/include/msg.h @@ -162,8 +162,8 @@ * @author Kévin Roussel */ -#ifndef MSG_H_ -#define MSG_H_ +#ifndef MSG_H +#define MSG_H #include #include @@ -379,5 +379,5 @@ int msg_init_queue(msg_t *array, int num); } #endif -#endif /* MSG_H_ */ +#endif /* MSG_H */ /** @} */ diff --git a/core/include/mutex.h b/core/include/mutex.h index 0e516bb0da4a..f58a579beb89 100644 --- a/core/include/mutex.h +++ b/core/include/mutex.h @@ -18,8 +18,8 @@ * @author Kaspar Schleiser */ -#ifndef MUTEX_H_ -#define MUTEX_H_ +#ifndef MUTEX_H +#define MUTEX_H #include "priority_queue.h" #include "atomic.h" @@ -101,5 +101,5 @@ void mutex_unlock_and_sleep(mutex_t *mutex); } #endif -#endif /* MUTEX_H_ */ +#endif /* MUTEX_H */ /** @} */ diff --git a/core/include/tcb.h b/core/include/tcb.h index 41a803c5bf8a..1b181929190f 100644 --- a/core/include/tcb.h +++ b/core/include/tcb.h @@ -17,8 +17,8 @@ * @author Kaspar Schleiser */ -#ifndef TCB_H_ -#define TCB_H_ +#ifndef TCB_H +#define TCB_H #include #include "priority_queue.h" @@ -87,5 +87,5 @@ typedef struct tcb_t { } #endif -#endif /* TCB_H_ */ +#endif /* TCB_H */ /** @} */ diff --git a/cpu/atmega2560/include/cpu_conf.h b/cpu/atmega2560/include/cpu_conf.h index 0cdbd3005828..1ef6bf9841dd 100644 --- a/cpu/atmega2560/include/cpu_conf.h +++ b/cpu/atmega2560/include/cpu_conf.h @@ -16,8 +16,8 @@ * @author Hinnerk van Bruinehsen */ -#ifndef __CPU_CONF_H -#define __CPU_CONF_H +#ifndef CPU_CONF_H +#define CPU_CONF_H #ifdef __cplusplus @@ -44,5 +44,5 @@ extern "C" { } #endif -#endif /* __CPU_CONF_H */ +#endif /* CPU_CONF_H */ /** @} */ diff --git a/cpu/atmega_common/include/cpu.h b/cpu/atmega_common/include/cpu.h index b7c7d83d2ff3..4be4234a4bce 100644 --- a/cpu/atmega_common/include/cpu.h +++ b/cpu/atmega_common/include/cpu.h @@ -24,8 +24,8 @@ * @author Kaspar Schleiser */ -#ifndef __ATMEGA_COMMON_H -#define __ATMEGA_COMMON_H +#ifndef ATMEGA_COMMON_H +#define ATMEGA_COMMON_H #include #include @@ -83,5 +83,5 @@ static inline void cpu_print_last_instruction(void) } #endif -#endif /* __ATMEGA_COMMON_H */ +#endif /* ATMEGA_COMMON_H */ /** @} */ diff --git a/cpu/cc2538/include/cpu_conf.h b/cpu/cc2538/include/cpu_conf.h index 088cdb4effaa..672dca5d1889 100644 --- a/cpu/cc2538/include/cpu_conf.h +++ b/cpu/cc2538/include/cpu_conf.h @@ -16,8 +16,8 @@ * @author Ian Martin */ -#ifndef __CPU_CONF_H -#define __CPU_CONF_H +#ifndef CPU_CONF_H +#define CPU_CONF_H #include "cc2538.h" #include "cc2538_gpio.h" @@ -45,5 +45,5 @@ extern "C" { } /* end extern "C" */ #endif -#endif /* __CPU_CONF_H */ +#endif /* CPU_CONF_H */ /** @} */ diff --git a/cpu/cortexm_common/include/core_cm0.h b/cpu/cortexm_common/include/core_cm0.h index a78a2c3f6a86..1c6632e38fb0 100644 --- a/cpu/cortexm_common/include/core_cm0.h +++ b/cpu/cortexm_common/include/core_cm0.h @@ -735,6 +735,6 @@ __STATIC_INLINE uint32_t SysTick_Config(uint32_t ticks) } #endif -#endif /* __CORE_CM0_H_DEPENDANT */ +#endif /* CORE_CM0_H_DEPENDANT */ #endif /* __CMSIS_GENERIC */ diff --git a/cpu/cortexm_common/include/core_cmFunc.h b/cpu/cortexm_common/include/core_cmFunc.h index 749a7a7a3537..2fab5e192c74 100644 --- a/cpu/cortexm_common/include/core_cmFunc.h +++ b/cpu/cortexm_common/include/core_cmFunc.h @@ -35,8 +35,8 @@ ---------------------------------------------------------------------------*/ -#ifndef __CORE_CMFUNC_H -#define __CORE_CMFUNC_H +#ifndef CORE_CMFUNC_H +#define CORE_CMFUNC_H #ifdef __cplusplus extern "C" { @@ -675,4 +675,4 @@ __attribute__( ( always_inline ) ) __STATIC_INLINE void __set_FPSCR(uint32_t fps } #endif -#endif /* __CORE_CMFUNC_H */ +#endif /* CORE_CMFUNC_H */ diff --git a/cpu/cortexm_common/include/core_cmInstr.h b/cpu/cortexm_common/include/core_cmInstr.h index ed8a6f3cc531..6e701513ee24 100644 --- a/cpu/cortexm_common/include/core_cmInstr.h +++ b/cpu/cortexm_common/include/core_cmInstr.h @@ -35,8 +35,8 @@ ---------------------------------------------------------------------------*/ -#ifndef __CORE_CMINSTR_H -#define __CORE_CMINSTR_H +#ifndef CORE_CMINSTR_H +#define CORE_CMINSTR_H #ifdef __cplusplus extern "C" { @@ -920,4 +920,4 @@ __attribute__((always_inline)) __STATIC_INLINE void __STRT(uint32_t value, volat } #endif -#endif /* __CORE_CMINSTR_H */ +#endif /* CORE_CMINSTR_H */ diff --git a/cpu/cortexm_common/include/core_cmSimd.h b/cpu/cortexm_common/include/core_cmSimd.h index 7b8e37fff601..6616fea35f85 100644 --- a/cpu/cortexm_common/include/core_cmSimd.h +++ b/cpu/cortexm_common/include/core_cmSimd.h @@ -39,8 +39,8 @@ #pragma system_include /* treat file as system include file for MISRA check */ #endif -#ifndef __CORE_CMSIMD_H -#define __CORE_CMSIMD_H +#ifndef CORE_CMSIMD_H +#define CORE_CMSIMD_H #ifdef __cplusplus extern "C" { @@ -694,4 +694,4 @@ __attribute__( ( always_inline ) ) __STATIC_INLINE uint32_t __SMMLA (int32_t op1 } #endif -#endif /* __CORE_CMSIMD_H */ +#endif /* CORE_CMSIMD_H */ diff --git a/cpu/ezr32wg/include/ezr32wg330f256r60.h b/cpu/ezr32wg/include/ezr32wg330f256r60.h index e9754760db78..6b913b8d9c7d 100644 --- a/cpu/ezr32wg/include/ezr32wg330f256r60.h +++ b/cpu/ezr32wg/include/ezr32wg330f256r60.h @@ -31,8 +31,8 @@ * *****************************************************************************/ -#ifndef __SILICON_LABS_EZR32WG330F256R60_H__ -#define __SILICON_LABS_EZR32WG330F256R60_H__ +#ifndef SILICON_LABS_EZR32WG330F256R60_H +#define SILICON_LABS_EZR32WG330F256R60_H #ifdef __cplusplus extern "C" { @@ -492,4 +492,4 @@ typedef enum IRQn #ifdef __cplusplus } #endif -#endif /* __SILICON_LABS_EZR32WG330F256R60_H__ */ +#endif /* SILICON_LABS_EZR32WG330F256R60_H */ diff --git a/cpu/k64f/include/cpu_conf.h b/cpu/k64f/include/cpu_conf.h index 9d38392ceb56..6c5ba7bfde9e 100644 --- a/cpu/k64f/include/cpu_conf.h +++ b/cpu/k64f/include/cpu_conf.h @@ -21,8 +21,8 @@ * @author Johann Fischer */ -#ifndef __CPU_CONF_H -#define __CPU_CONF_H +#ifndef CPU_CONF_H +#define CPU_CONF_H #ifdef CPU_MODEL_MK64FN1M0VLL12 #include "MK64F12.h" @@ -84,5 +84,5 @@ extern "C" } #endif -#endif /* __CPU_CONF_H */ +#endif /* CPU_CONF_H */ /** @} */ diff --git a/cpu/kinetis_common/include/mcg.h b/cpu/kinetis_common/include/mcg.h index 7f32e952d44f..05b84404a08c 100644 --- a/cpu/kinetis_common/include/mcg.h +++ b/cpu/kinetis_common/include/mcg.h @@ -97,8 +97,8 @@ * @author Johann Fischer */ -#ifndef __MCG_CPU_H -#define __MCG_CPU_H +#ifndef MCG_CPU_H +#define MCG_CPU_H #include "cpu_conf.h" #include "periph_conf.h" @@ -131,7 +131,7 @@ int kinetis_mcg_set_mode(kinetis_mcg_mode_t mode); } #endif -#endif /* __MCG_CPU_H */ +#endif /* MCG_CPU_H */ /** @} */ #endif /* KINETIS_CPU_USE_MCG */ diff --git a/cpu/kw2x/include/cpu_conf.h b/cpu/kw2x/include/cpu_conf.h index 3ec3c1e00e57..7ac6bb66caa7 100644 --- a/cpu/kw2x/include/cpu_conf.h +++ b/cpu/kw2x/include/cpu_conf.h @@ -22,8 +22,8 @@ * @author Johann Fischer */ -#ifndef __CPU_CONF_H -#define __CPU_CONF_H +#ifndef CPU_CONF_H +#define CPU_CONF_H #ifdef CPU_MODEL_KW21D256 #include "MKW22D5.h" @@ -115,5 +115,5 @@ extern "C" } #endif -#endif /* __CPU_CONF_H */ +#endif /* CPU_CONF_H */ /** @} */ diff --git a/cpu/lpc11u34/include/LPC11Uxx.h b/cpu/lpc11u34/include/LPC11Uxx.h index 35afda35118f..fec3bc3f395d 100644 --- a/cpu/lpc11u34/include/LPC11Uxx.h +++ b/cpu/lpc11u34/include/LPC11Uxx.h @@ -25,8 +25,8 @@ * */ -#ifndef __LPC11UXX_H__ -#define __LPC11UXX_H__ +#ifndef LPC11UXX_H +#define LPC11UXX_H #ifdef __cplusplus extern "C" { @@ -662,5 +662,5 @@ typedef struct { #endif -#endif // __LPC11UXX_H__ +#endif // LPC11UXX_H /** @} */ diff --git a/cpu/lpc11u34/include/cpu_conf.h b/cpu/lpc11u34/include/cpu_conf.h index e5a276b0c079..f0660d5a9eb3 100644 --- a/cpu/lpc11u34/include/cpu_conf.h +++ b/cpu/lpc11u34/include/cpu_conf.h @@ -18,8 +18,8 @@ * @author Paul RATHGEB */ -#ifndef __CPU_CONF_H -#define __CPU_CONF_H +#ifndef CPU_CONF_H +#define CPU_CONF_H #include "LPC11Uxx.h" @@ -40,5 +40,5 @@ extern "C" { } #endif -#endif /* __CPU_CONF_H */ +#endif /* CPU_CONF_H */ /** @} */ diff --git a/cpu/lpc1768/include/LPC17xx.h b/cpu/lpc1768/include/LPC17xx.h index 952cb73c66c0..bc3f0c1a4488 100644 --- a/cpu/lpc1768/include/LPC17xx.h +++ b/cpu/lpc1768/include/LPC17xx.h @@ -23,8 +23,8 @@ ******************************************************************************/ -#ifndef __LPC17xx_H__ -#define __LPC17xx_H__ +#ifndef LPC17xx_H +#define LPC17xx_H #ifdef __cplusplus extern "C" { @@ -1044,4 +1044,4 @@ typedef struct } #endif -#endif // __LPC17xx_H__ +#endif // LPC17xx_H diff --git a/cpu/lpc1768/include/cpu_conf.h b/cpu/lpc1768/include/cpu_conf.h index 813f90173116..f3b26a579765 100644 --- a/cpu/lpc1768/include/cpu_conf.h +++ b/cpu/lpc1768/include/cpu_conf.h @@ -18,8 +18,8 @@ * @author Hauke Petersen */ -#ifndef __CPU_CONF_H -#define __CPU_CONF_H +#ifndef CPU_CONF_H +#define CPU_CONF_H #include "LPC17xx.h" @@ -40,5 +40,5 @@ extern "C" { } #endif -#endif /* __CPU_CONF_H */ +#endif /* CPU_CONF_H */ /** @} */ diff --git a/cpu/lpc2387/include/cpu.h b/cpu/lpc2387/include/cpu.h index fc8f179c4fe6..fddb45b025e6 100644 --- a/cpu/lpc2387/include/cpu.h +++ b/cpu/lpc2387/include/cpu.h @@ -6,8 +6,8 @@ * directory for more details. */ -#ifndef __CPU_H -#define __CPU_H +#ifndef CPU_H +#define CPU_H /** * @defgroup lpc2387 NXP LPC2387 @@ -58,4 +58,4 @@ static inline void cpu_print_last_instruction(void) #endif /** @} */ -#endif /* __CPU_H */ +#endif /* CPU_H */ diff --git a/cpu/lpc2387/include/i2c.h b/cpu/lpc2387/include/i2c.h index c7e4aaaa65fc..d8c8105d9576 100644 --- a/cpu/lpc2387/include/i2c.h +++ b/cpu/lpc2387/include/i2c.h @@ -28,8 +28,8 @@ * @note $Id: i2c.h 3857 2013-09-02 18:11:27 kasmi $ */ -#ifndef __I2C_H -#define __I2C_H +#ifndef I2C_H +#define I2C_H #include #include @@ -334,4 +334,4 @@ void i2c_disable_pull_up_resistor(uint8_t i2c_interface); } #endif -#endif /* end __I2C_H */ +#endif /* end I2C_H */ diff --git a/cpu/lpc2387/include/lpc2387.h b/cpu/lpc2387/include/lpc2387.h index c16a3e11c6c5..eff5a89ba4cc 100644 --- a/cpu/lpc2387/include/lpc2387.h +++ b/cpu/lpc2387/include/lpc2387.h @@ -8,8 +8,8 @@ * Parts taken from FeuerWhere-Project, lpc2387.h. */ -#ifndef __LPC2387_H -#define __LPC2387_H +#ifndef LPC2387_H +#define LPC2387_H #include "lpc23xx.h" #include "arm7_common.h" @@ -151,4 +151,4 @@ extern "C" { } #endif -#endif // __LPC2387_H +#endif // LPC2387_H diff --git a/cpu/native/include/clang_compat.h b/cpu/native/include/clang_compat.h index 1459d3a16b44..3e16634c2a51 100644 --- a/cpu/native/include/clang_compat.h +++ b/cpu/native/include/clang_compat.h @@ -8,7 +8,7 @@ * directory for more details. */ -#ifndef __CLANG_COMPAT_H +#ifndef CLANG_COMPAT_H #ifdef __cplusplus extern "C" { diff --git a/cpu/nrf51/include/cpu_conf.h b/cpu/nrf51/include/cpu_conf.h index 93b93e040250..e8df28fcb0fd 100644 --- a/cpu/nrf51/include/cpu_conf.h +++ b/cpu/nrf51/include/cpu_conf.h @@ -16,8 +16,8 @@ * @author Hauke Petersen */ -#ifndef __CPU_CONF_H -#define __CPU_CONF_H +#ifndef CPU_CONF_H +#define CPU_CONF_H #include "nrf51.h" #include "nrf51_bitfields.h" @@ -38,5 +38,5 @@ extern "C" { } #endif -#endif /* __CPU_CONF_H */ +#endif /* CPU_CONF_H */ /** @} */ diff --git a/cpu/nrf51/include/nrf51_bitfields.h b/cpu/nrf51/include/nrf51_bitfields.h index 1bcdb7269c19..55c76c5c7d16 100644 --- a/cpu/nrf51/include/nrf51_bitfields.h +++ b/cpu/nrf51/include/nrf51_bitfields.h @@ -27,8 +27,8 @@ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * */ -#ifndef __NRF51_BITS_H -#define __NRF51_BITS_H +#ifndef NRF51_BITS_H +#define NRF51_BITS_H #ifdef __cplusplus extern "C" { diff --git a/cpu/sam3/include/cpu_conf.h b/cpu/sam3/include/cpu_conf.h index 0debff6c0222..bee37cd6eeba 100644 --- a/cpu/sam3/include/cpu_conf.h +++ b/cpu/sam3/include/cpu_conf.h @@ -18,8 +18,8 @@ * @author Hauke Petersen */ -#ifndef __CPU_CONF_H -#define __CPU_CONF_H +#ifndef CPU_CONF_H +#define CPU_CONF_H #include "sam3x8e.h" @@ -40,5 +40,5 @@ extern "C" { } #endif -#endif /* __CPU_CONF_H */ +#endif /* CPU_CONF_H */ /** @} */ diff --git a/cpu/sam3/include/sam3x8e.h b/cpu/sam3/include/sam3x8e.h index 0df01ab68400..22e626b9a678 100644 --- a/cpu/sam3/include/sam3x8e.h +++ b/cpu/sam3/include/sam3x8e.h @@ -27,8 +27,8 @@ * ---------------------------------------------------------------------------- */ -#ifndef _SAM3X8E_ -#define _SAM3X8E_ +#ifndef SAM3X8E_H +#define SAM3X8E_H /** \addtogroup cpu_sam3x8e_definitions SAM3X8E definitions This file defines all structures and symbols for SAM3X8E: @@ -579,4 +579,4 @@ void WDT_Handler ( void ); /*@}*/ -#endif /* _SAM3X8E_ */ +#endif /* SAM3X8E_H */ diff --git a/cpu/samd21/include/cpu_conf.h b/cpu/samd21/include/cpu_conf.h index 1b7324fa0131..fae7fefdfed4 100644 --- a/cpu/samd21/include/cpu_conf.h +++ b/cpu/samd21/include/cpu_conf.h @@ -15,8 +15,8 @@ * @author Thomas Eichinger */ -#ifndef __CPU_CONF_H -#define __CPU_CONF_H +#ifndef CPU_CONF_H +#define CPU_CONF_H #include "samd21.h" @@ -37,5 +37,5 @@ extern "C" { } #endif -#endif /* __CPU_CONF_H */ +#endif /* CPU_CONF_H */ /** @} */ diff --git a/cpu/samd21/include/samd21.h b/cpu/samd21/include/samd21.h index 805b01e76efe..2fbee93514e0 100644 --- a/cpu/samd21/include/samd21.h +++ b/cpu/samd21/include/samd21.h @@ -41,8 +41,8 @@ * */ -#ifndef _SAMR21G18A_ -#define _SAMR21G18A_ +#ifndef SAMR21G18A_H +#define SAMR21G18A_H /** * \ingroup cpu_specific_SAMR21_definitions diff --git a/cpu/saml21/include/atmel/saml21e15a.h b/cpu/saml21/include/atmel/saml21e15a.h index 9b502c16354a..383ab2ee6d89 100644 --- a/cpu/saml21/include/atmel/saml21e15a.h +++ b/cpu/saml21/include/atmel/saml21e15a.h @@ -44,8 +44,8 @@ * Support and FAQ: visit Atmel Support */ -#ifndef _SAML21E15A_ -#define _SAML21E15A_ +#ifndef SAML21E15A_H +#define SAML21E15A_H /** * \ingroup SAML21_definitions diff --git a/cpu/saml21/include/atmel/saml21e16a.h b/cpu/saml21/include/atmel/saml21e16a.h index 488b73331bda..07a881e98140 100644 --- a/cpu/saml21/include/atmel/saml21e16a.h +++ b/cpu/saml21/include/atmel/saml21e16a.h @@ -44,8 +44,8 @@ * Support and FAQ: visit Atmel Support */ -#ifndef _SAML21E16A_ -#define _SAML21E16A_ +#ifndef SAML21E16A_H +#define SAML21E16A_H /** * \ingroup SAML21_definitions diff --git a/cpu/saml21/include/atmel/saml21e17a.h b/cpu/saml21/include/atmel/saml21e17a.h index f1251e0753ba..32b005b77268 100644 --- a/cpu/saml21/include/atmel/saml21e17a.h +++ b/cpu/saml21/include/atmel/saml21e17a.h @@ -44,8 +44,8 @@ * Support and FAQ: visit Atmel Support */ -#ifndef _SAML21E17A_ -#define _SAML21E17A_ +#ifndef SAML21E17A_H +#define SAML21E17A_H /** * \ingroup SAML21_definitions diff --git a/cpu/saml21/include/atmel/saml21g16a.h b/cpu/saml21/include/atmel/saml21g16a.h index a6dcda6888d6..3667e2e5d854 100644 --- a/cpu/saml21/include/atmel/saml21g16a.h +++ b/cpu/saml21/include/atmel/saml21g16a.h @@ -44,8 +44,8 @@ * Support and FAQ: visit Atmel Support */ -#ifndef _SAML21G16A_ -#define _SAML21G16A_ +#ifndef SAML21G16A_H +#define SAML21G16A_H /** * \ingroup SAML21_definitions diff --git a/cpu/saml21/include/atmel/saml21g17a.h b/cpu/saml21/include/atmel/saml21g17a.h index 1cb991433be4..17e671de812c 100644 --- a/cpu/saml21/include/atmel/saml21g17a.h +++ b/cpu/saml21/include/atmel/saml21g17a.h @@ -44,8 +44,8 @@ * Support and FAQ: visit Atmel Support */ -#ifndef _SAML21G17A_ -#define _SAML21G17A_ +#ifndef SAML21G17A_H +#define SAML21G17A_H /** * \ingroup SAML21_definitions diff --git a/cpu/saml21/include/atmel/saml21g18a.h b/cpu/saml21/include/atmel/saml21g18a.h index 884e97c5ce1b..14530b3f85b0 100644 --- a/cpu/saml21/include/atmel/saml21g18a.h +++ b/cpu/saml21/include/atmel/saml21g18a.h @@ -44,8 +44,8 @@ * Support and FAQ: visit Atmel Support */ -#ifndef _SAML21G18A_ -#define _SAML21G18A_ +#ifndef SAML21G18A_H +#define SAML21G18A_H /** * \ingroup SAML21_definitions diff --git a/cpu/saml21/include/atmel/saml21j16a.h b/cpu/saml21/include/atmel/saml21j16a.h index 2f036b5e98de..39866b756735 100644 --- a/cpu/saml21/include/atmel/saml21j16a.h +++ b/cpu/saml21/include/atmel/saml21j16a.h @@ -44,8 +44,8 @@ * Support and FAQ: visit Atmel Support */ -#ifndef _SAML21J16A_ -#define _SAML21J16A_ +#ifndef SAML21J16A_H +#define SAML21J16A_H /** * \ingroup SAML21_definitions diff --git a/cpu/saml21/include/atmel/saml21j17a.h b/cpu/saml21/include/atmel/saml21j17a.h index c53599cd6f45..1a868987597a 100644 --- a/cpu/saml21/include/atmel/saml21j17a.h +++ b/cpu/saml21/include/atmel/saml21j17a.h @@ -44,8 +44,8 @@ * Support and FAQ: visit Atmel Support */ -#ifndef _SAML21J17A_ -#define _SAML21J17A_ +#ifndef SAML21J17A_H +#define SAML21J17A_H /** * \ingroup SAML21_definitions diff --git a/cpu/saml21/include/atmel/saml21j18a.h b/cpu/saml21/include/atmel/saml21j18a.h index fc8eb48b72ca..e10415b07209 100644 --- a/cpu/saml21/include/atmel/saml21j18a.h +++ b/cpu/saml21/include/atmel/saml21j18a.h @@ -44,8 +44,8 @@ * Support and FAQ: visit Atmel Support */ -#ifndef _SAML21J18A_ -#define _SAML21J18A_ +#ifndef SAML21J18A_H +#define SAML21J18A_H /** * \ingroup SAML21_definitions diff --git a/cpu/saml21/include/cpu_conf.h b/cpu/saml21/include/cpu_conf.h index d76423f100a0..7cb711fc37d1 100644 --- a/cpu/saml21/include/cpu_conf.h +++ b/cpu/saml21/include/cpu_conf.h @@ -15,8 +15,8 @@ * @author Thomas Eichinger */ -#ifndef __CPU_CONF_H -#define __CPU_CONF_H +#ifndef CPU_CONF_H +#define CPU_CONF_H #include "atmel/saml21.h" @@ -37,5 +37,5 @@ extern "C" { } #endif -#endif /* __CPU_CONF_H */ +#endif /* CPU_CONF_H */ /** @} */ diff --git a/cpu/stellaris_common/include/cortex-m4-def.h b/cpu/stellaris_common/include/cortex-m4-def.h index e269aa12726c..b02fbde33067 100644 --- a/cpu/stellaris_common/include/cortex-m4-def.h +++ b/cpu/stellaris_common/include/cortex-m4-def.h @@ -37,8 +37,8 @@ // //***************************************************************************** -#ifndef __CORTEX_M4_DEF_H__ -#define __CORTEX_M4_DEF_H__ +#ifndef CORTEX_M4_DEF_H +#define CORTEX_M4_DEF_H #ifdef __cplusplus extern "C" { @@ -10031,4 +10031,4 @@ extern "C" { } #endif -#endif // __LM4F120H5QR_H__ +#endif // LM4F120H5QR_H diff --git a/cpu/stellaris_common/include/hw_adc.h b/cpu/stellaris_common/include/hw_adc.h index 7d742cdce017..6031ecbe78fc 100644 --- a/cpu/stellaris_common/include/hw_adc.h +++ b/cpu/stellaris_common/include/hw_adc.h @@ -37,8 +37,8 @@ // //***************************************************************************** -#ifndef __HW_ADC_H__ -#define __HW_ADC_H__ +#ifndef HW_ADC_H +#define HW_ADC_H #ifdef __cplusplus extern "C" { @@ -1357,4 +1357,4 @@ extern "C" { } #endif -#endif // __HW_ADC_H__ +#endif // HW_ADC_H diff --git a/cpu/stellaris_common/include/hw_gpio.h b/cpu/stellaris_common/include/hw_gpio.h index 96f96c8a6b36..61eebafc9513 100644 --- a/cpu/stellaris_common/include/hw_gpio.h +++ b/cpu/stellaris_common/include/hw_gpio.h @@ -37,8 +37,8 @@ // //***************************************************************************** -#ifndef __HW_GPIO_H__ -#define __HW_GPIO_H__ +#ifndef HW_GPIO_H +#define HW_GPIO_H #ifdef __cplusplus extern "C" { @@ -197,4 +197,4 @@ extern "C" { } #endif -#endif // __HW_GPIO_H__ +#endif // HW_GPIO_H diff --git a/cpu/stellaris_common/include/hw_hibernate.h b/cpu/stellaris_common/include/hw_hibernate.h index b8c36a3942ef..578ee8bf27ea 100644 --- a/cpu/stellaris_common/include/hw_hibernate.h +++ b/cpu/stellaris_common/include/hw_hibernate.h @@ -37,8 +37,8 @@ // //***************************************************************************** -#ifndef __HW_HIBERNATE_H__ -#define __HW_HIBERNATE_H__ +#ifndef HW_HIBERNATE_H +#define HW_HIBERNATE_H #ifdef __cplusplus extern "C" { @@ -291,4 +291,4 @@ extern "C" { } #endif -#endif // __HW_HIBERNATE_H__ +#endif // HW_HIBERNATE_H diff --git a/cpu/stellaris_common/include/hw_i2c.h b/cpu/stellaris_common/include/hw_i2c.h index 359bbaee47b8..90be7d93ac4d 100644 --- a/cpu/stellaris_common/include/hw_i2c.h +++ b/cpu/stellaris_common/include/hw_i2c.h @@ -37,8 +37,8 @@ // //***************************************************************************** -#ifndef __HW_I2C_H__ -#define __HW_I2C_H__ +#ifndef HW_I2C_H +#define HW_I2C_H #ifdef __cplusplus extern "C" { @@ -494,4 +494,4 @@ extern "C" { } #endif -#endif // __HW_I2C_H__ +#endif // HW_I2C_H diff --git a/cpu/stellaris_common/include/hw_ints.h b/cpu/stellaris_common/include/hw_ints.h index 96200bccd440..2a9a238e504f 100644 --- a/cpu/stellaris_common/include/hw_ints.h +++ b/cpu/stellaris_common/include/hw_ints.h @@ -37,8 +37,8 @@ // //***************************************************************************** -#ifndef __HW_INTS_H__ -#define __HW_INTS_H__ +#ifndef HW_INTS_H +#define HW_INTS_H #ifdef __cplusplus extern "C" { @@ -222,4 +222,4 @@ extern "C" { } #endif -#endif // __HW_INTS_H__ +#endif // HW_INTS_H diff --git a/cpu/stellaris_common/include/hw_memmap.h b/cpu/stellaris_common/include/hw_memmap.h index 4ad3b93d7025..500c0694d345 100644 --- a/cpu/stellaris_common/include/hw_memmap.h +++ b/cpu/stellaris_common/include/hw_memmap.h @@ -37,8 +37,8 @@ // //***************************************************************************** -#ifndef __HW_MEMMAP_H__ -#define __HW_MEMMAP_H__ +#ifndef HW_MEMMAP_H +#define HW_MEMMAP_H #ifdef __cplusplus extern "C" { @@ -169,4 +169,4 @@ extern "C" { } #endif -#endif // __HW_MEMMAP_H__ +#endif // HW_MEMMAP_H diff --git a/cpu/stellaris_common/include/hw_nvic.h b/cpu/stellaris_common/include/hw_nvic.h index 827310310819..c2f85c075a37 100644 --- a/cpu/stellaris_common/include/hw_nvic.h +++ b/cpu/stellaris_common/include/hw_nvic.h @@ -37,8 +37,8 @@ // //***************************************************************************** -#ifndef __HW_NVIC_H__ -#define __HW_NVIC_H__ +#ifndef HW_NVIC_H +#define HW_NVIC_H #ifdef __cplusplus extern "C" { @@ -1722,4 +1722,4 @@ extern "C" { } #endif -#endif // __HW_NVIC_H__ +#endif // HW_NVIC_H diff --git a/cpu/stellaris_common/include/hw_pwm.h b/cpu/stellaris_common/include/hw_pwm.h index d780480dad23..885fd90eba52 100644 --- a/cpu/stellaris_common/include/hw_pwm.h +++ b/cpu/stellaris_common/include/hw_pwm.h @@ -37,8 +37,8 @@ // //***************************************************************************** -#ifndef __HW_PWM_H__ -#define __HW_PWM_H__ +#ifndef HW_PWM_H +#define HW_PWM_H #ifdef __cplusplus extern "C" { @@ -2025,4 +2025,4 @@ extern "C" { } #endif -#endif // __HW_PWM_H__ +#endif // HW_PWM_H diff --git a/cpu/stellaris_common/include/hw_ssi.h b/cpu/stellaris_common/include/hw_ssi.h index ac3b67a18240..c6b40a42018c 100644 --- a/cpu/stellaris_common/include/hw_ssi.h +++ b/cpu/stellaris_common/include/hw_ssi.h @@ -37,8 +37,8 @@ // //***************************************************************************** -#ifndef __HW_SSI_H__ -#define __HW_SSI_H__ +#ifndef HW_SSI_H +#define HW_SSI_H #ifdef __cplusplus extern "C" { @@ -249,4 +249,4 @@ extern "C" { } #endif -#endif // __HW_SSI_H__ +#endif // HW_SSI_H diff --git a/cpu/stellaris_common/include/hw_sysctl.h b/cpu/stellaris_common/include/hw_sysctl.h index cff565e62f0d..6ecf47287ec5 100644 --- a/cpu/stellaris_common/include/hw_sysctl.h +++ b/cpu/stellaris_common/include/hw_sysctl.h @@ -37,8 +37,8 @@ // //***************************************************************************** -#ifndef __HW_SYSCTL_H__ -#define __HW_SYSCTL_H__ +#ifndef HW_SYSCTL_H +#define HW_SYSCTL_H #ifdef __cplusplus extern "C" { @@ -3681,4 +3681,4 @@ extern "C" { } #endif -#endif // __HW_SYSCTL_H__ +#endif // HW_SYSCTL_H diff --git a/cpu/stellaris_common/include/hw_sysexc.h b/cpu/stellaris_common/include/hw_sysexc.h index 325b5c953fc2..0b8774ad100d 100644 --- a/cpu/stellaris_common/include/hw_sysexc.h +++ b/cpu/stellaris_common/include/hw_sysexc.h @@ -37,8 +37,8 @@ // //***************************************************************************** -#ifndef __HW_SYSEXC_H__ -#define __HW_SYSEXC_H__ +#ifndef HW_SYSEXC_H +#define HW_SYSEXC_H #ifdef __cplusplus extern "C" { @@ -136,4 +136,4 @@ extern "C" { } #endif -#endif // __HW_SYSEXC_H__ +#endif // HW_SYSEXC_H diff --git a/cpu/stellaris_common/include/hw_timer.h b/cpu/stellaris_common/include/hw_timer.h index 544f338606cd..7a0b21d55cfb 100644 --- a/cpu/stellaris_common/include/hw_timer.h +++ b/cpu/stellaris_common/include/hw_timer.h @@ -37,8 +37,8 @@ // //***************************************************************************** -#ifndef __HW_TIMER_H__ -#define __HW_TIMER_H__ +#ifndef HW_TIMER_H +#define HW_TIMER_H #ifdef __cplusplus extern "C" { @@ -764,4 +764,4 @@ extern "C" { } #endif -#endif // __HW_TIMER_H__ +#endif // HW_TIMER_H diff --git a/cpu/stellaris_common/include/hw_types.h b/cpu/stellaris_common/include/hw_types.h index c3cf5c35b0e0..c7f412512fda 100644 --- a/cpu/stellaris_common/include/hw_types.h +++ b/cpu/stellaris_common/include/hw_types.h @@ -37,8 +37,8 @@ // //***************************************************************************** -#ifndef __HW_TYPES_H__ -#define __HW_TYPES_H__ +#ifndef HW_TYPES_H +#define HW_TYPES_H #ifdef __cplusplus extern "C" { @@ -223,4 +223,4 @@ typedef unsigned char tBoolean; } #endif -#endif // __HW_TYPES_H__ +#endif // HW_TYPES_H diff --git a/cpu/stellaris_common/include/hw_uart.h b/cpu/stellaris_common/include/hw_uart.h index eb985338e1a3..b9fd25dd32c6 100644 --- a/cpu/stellaris_common/include/hw_uart.h +++ b/cpu/stellaris_common/include/hw_uart.h @@ -37,8 +37,8 @@ // //***************************************************************************** -#ifndef __HW_UART_H__ -#define __HW_UART_H__ +#ifndef HW_UART_H +#define HW_UART_H #ifdef __cplusplus extern "C" { @@ -527,4 +527,4 @@ extern "C" { } #endif -#endif // __HW_UART_H__ +#endif // HW_UART_H diff --git a/cpu/stellaris_common/include/hw_watchdog.h b/cpu/stellaris_common/include/hw_watchdog.h index a712adaf1f9d..552646c49990 100644 --- a/cpu/stellaris_common/include/hw_watchdog.h +++ b/cpu/stellaris_common/include/hw_watchdog.h @@ -37,8 +37,8 @@ // //***************************************************************************** -#ifndef __HW_WATCHDOG_H__ -#define __HW_WATCHDOG_H__ +#ifndef HW_WATCHDOG_H +#define HW_WATCHDOG_H #ifdef __cplusplus extern "C" { @@ -196,4 +196,4 @@ extern "C" { } #endif -#endif // __HW_WATCHDOG_H__ +#endif // HW_WATCHDOG_H diff --git a/cpu/stellaris_common/include/stellaris_periph/adc.h b/cpu/stellaris_common/include/stellaris_periph/adc.h index 47f82f9c4a05..d9a95e5acc71 100644 --- a/cpu/stellaris_common/include/stellaris_periph/adc.h +++ b/cpu/stellaris_common/include/stellaris_periph/adc.h @@ -37,8 +37,8 @@ // //***************************************************************************** -#ifndef __ADC_H__ -#define __ADC_H__ +#ifndef ADC_H +#define ADC_H //***************************************************************************** // @@ -308,4 +308,4 @@ extern unsigned long ADCPhaseDelayGet(unsigned long ulBase); } #endif -#endif // __ADC_H__ +#endif // ADC_H diff --git a/cpu/stellaris_common/include/stellaris_periph/comp.h b/cpu/stellaris_common/include/stellaris_periph/comp.h index 43f12eff5d86..345f4c78cacc 100644 --- a/cpu/stellaris_common/include/stellaris_periph/comp.h +++ b/cpu/stellaris_common/include/stellaris_periph/comp.h @@ -37,8 +37,8 @@ // //***************************************************************************** -#ifndef __COMP_H__ -#define __COMP_H__ +#ifndef COMP_H +#define COMP_H //***************************************************************************** // @@ -142,4 +142,4 @@ extern void ComparatorIntClear(unsigned long ulBase, unsigned long ulComp); } #endif -#endif // __COMP_H__ +#endif // COMP_H diff --git a/cpu/stellaris_common/include/stellaris_periph/cpu.h b/cpu/stellaris_common/include/stellaris_periph/cpu.h index ca093d1e1a98..8193437d2090 100644 --- a/cpu/stellaris_common/include/stellaris_periph/cpu.h +++ b/cpu/stellaris_common/include/stellaris_periph/cpu.h @@ -37,8 +37,8 @@ // //***************************************************************************** -#ifndef __CPU_H__ -#define __CPU_H__ +#ifndef CPU_H +#define CPU_H //***************************************************************************** // @@ -72,4 +72,4 @@ extern void CPUbasepriSet(unsigned long ulNewBasepri); } #endif -#endif // __CPU_H__ +#endif // CPU_H diff --git a/cpu/stellaris_common/include/stellaris_periph/fpu.h b/cpu/stellaris_common/include/stellaris_periph/fpu.h index cd7ab7201023..d58d266f3357 100644 --- a/cpu/stellaris_common/include/stellaris_periph/fpu.h +++ b/cpu/stellaris_common/include/stellaris_periph/fpu.h @@ -37,8 +37,8 @@ // //***************************************************************************** -#ifndef __FPU_H__ -#define __FPU_H__ +#ifndef FPU_H +#define FPU_H //***************************************************************************** // @@ -109,4 +109,4 @@ extern void FPURoundingModeSet(unsigned long ulMode); } #endif -#endif // __FPU_H__ +#endif // FPU_H diff --git a/cpu/stellaris_common/include/stellaris_periph/gpio.h b/cpu/stellaris_common/include/stellaris_periph/gpio.h index f8740eaac027..b2b74e46d10b 100644 --- a/cpu/stellaris_common/include/stellaris_periph/gpio.h +++ b/cpu/stellaris_common/include/stellaris_periph/gpio.h @@ -37,8 +37,8 @@ // //***************************************************************************** -#ifndef __GPIO_H__ -#define __GPIO_H__ +#ifndef GPIO_H +#define GPIO_H //***************************************************************************** // @@ -196,4 +196,4 @@ extern void GPIOADCTriggerDisable(unsigned long ulPort, unsigned char ucPins); } #endif -#endif // __GPIO_H__ +#endif // GPIO_H diff --git a/cpu/stellaris_common/include/stellaris_periph/hibernate.h b/cpu/stellaris_common/include/stellaris_periph/hibernate.h index d698ed86dd5c..f1a4cad99518 100644 --- a/cpu/stellaris_common/include/stellaris_periph/hibernate.h +++ b/cpu/stellaris_common/include/stellaris_periph/hibernate.h @@ -37,8 +37,8 @@ // //***************************************************************************** -#ifndef __HIBERNATE_H__ -#define __HIBERNATE_H__ +#ifndef HIBERNATE_H +#define HIBERNATE_H //***************************************************************************** // @@ -164,4 +164,4 @@ extern unsigned long HibernateBatCheckDone(void); } #endif -#endif // __HIBERNATE_H__ +#endif // HIBERNATE_H diff --git a/cpu/stellaris_common/include/stellaris_periph/i2c.h b/cpu/stellaris_common/include/stellaris_periph/i2c.h index eebbacc90e48..db24cc6dfd8d 100644 --- a/cpu/stellaris_common/include/stellaris_periph/i2c.h +++ b/cpu/stellaris_common/include/stellaris_periph/i2c.h @@ -37,8 +37,8 @@ // //***************************************************************************** -#ifndef __I2C_H__ -#define __I2C_H__ +#ifndef I2C_H +#define I2C_H //***************************************************************************** // @@ -221,4 +221,4 @@ extern unsigned long I2CSlaveStatus(unsigned long ulBase); } #endif -#endif // __I2C_H__ +#endif // I2C_H diff --git a/cpu/stellaris_common/include/stellaris_periph/interrupt.h b/cpu/stellaris_common/include/stellaris_periph/interrupt.h index 5afed45808fc..f4e4b373f82a 100644 --- a/cpu/stellaris_common/include/stellaris_periph/interrupt.h +++ b/cpu/stellaris_common/include/stellaris_periph/interrupt.h @@ -37,8 +37,8 @@ // //***************************************************************************** -#ifndef __INTERRUPT_H__ -#define __INTERRUPT_H__ +#ifndef INTERRUPT_H +#define INTERRUPT_H //***************************************************************************** // @@ -90,4 +90,4 @@ extern unsigned long IntPriorityMaskGet(void); } #endif -#endif // __INTERRUPT_H__ +#endif // INTERRUPT_H diff --git a/cpu/stellaris_common/include/stellaris_periph/pin_map.h b/cpu/stellaris_common/include/stellaris_periph/pin_map.h index d36a0bbc650d..cf99f0be9191 100644 --- a/cpu/stellaris_common/include/stellaris_periph/pin_map.h +++ b/cpu/stellaris_common/include/stellaris_periph/pin_map.h @@ -37,8 +37,8 @@ // //***************************************************************************** -#ifndef __PIN_MAP_H__ -#define __PIN_MAP_H__ +#ifndef PIN_MAP_H +#define PIN_MAP_H #ifdef __cplusplus extern "C" { @@ -454,4 +454,4 @@ extern "C" { } #endif -#endif // __PIN_MAP_H__ +#endif // PIN_MAP_H diff --git a/cpu/stellaris_common/include/stellaris_periph/pwm.h b/cpu/stellaris_common/include/stellaris_periph/pwm.h index db9d9654d2b6..90dc47dc9e7a 100644 --- a/cpu/stellaris_common/include/stellaris_periph/pwm.h +++ b/cpu/stellaris_common/include/stellaris_periph/pwm.h @@ -37,8 +37,8 @@ // //***************************************************************************** -#ifndef __PWM_H__ -#define __PWM_H__ +#ifndef PWM_H +#define PWM_H //***************************************************************************** // @@ -295,4 +295,4 @@ extern void PWMGenFaultClear(unsigned long ulBase, unsigned long ulGen, } #endif -#endif // __PWM_H__ +#endif // PWM_H diff --git a/cpu/stellaris_common/include/stellaris_periph/rom.h b/cpu/stellaris_common/include/stellaris_periph/rom.h index 870e2aa24f93..a25dc71775f0 100644 --- a/cpu/stellaris_common/include/stellaris_periph/rom.h +++ b/cpu/stellaris_common/include/stellaris_periph/rom.h @@ -37,8 +37,8 @@ // //***************************************************************************** -#ifndef __ROM_H__ -#define __ROM_H__ +#ifndef ROM_H +#define ROM_H #ifdef __cplusplus extern "C" { @@ -6749,4 +6749,4 @@ extern "C" { } #endif -#endif // __ROM_H__ +#endif // ROM_H diff --git a/cpu/stellaris_common/include/stellaris_periph/rom_map.h b/cpu/stellaris_common/include/stellaris_periph/rom_map.h index 976da29c6a00..40986ec7ac1e 100644 --- a/cpu/stellaris_common/include/stellaris_periph/rom_map.h +++ b/cpu/stellaris_common/include/stellaris_periph/rom_map.h @@ -38,8 +38,8 @@ // //***************************************************************************** -#ifndef __ROM_MAP_H__ -#define __ROM_MAP_H__ +#ifndef ROM_MAP_H +#define ROM_MAP_H #ifdef __cplusplus extern "C" { @@ -5080,4 +5080,4 @@ extern "C" { } #endif -#endif // __ROM_MAP_H__ +#endif // ROM_MAP_H diff --git a/cpu/stellaris_common/include/stellaris_periph/ssi.h b/cpu/stellaris_common/include/stellaris_periph/ssi.h index 20af87e7f3b7..6afef2e6c685 100644 --- a/cpu/stellaris_common/include/stellaris_periph/ssi.h +++ b/cpu/stellaris_common/include/stellaris_periph/ssi.h @@ -37,8 +37,8 @@ // //***************************************************************************** -#ifndef __SSI_H__ -#define __SSI_H__ +#ifndef SSI_H +#define SSI_H //***************************************************************************** // @@ -148,4 +148,4 @@ extern unsigned long SSIClockSourceGet(unsigned long ulBase); } #endif -#endif // __SSI_H__ +#endif // SSI_H diff --git a/cpu/stellaris_common/include/stellaris_periph/sysctl.h b/cpu/stellaris_common/include/stellaris_periph/sysctl.h index c7c5748a40ee..35b3b75ae715 100644 --- a/cpu/stellaris_common/include/stellaris_periph/sysctl.h +++ b/cpu/stellaris_common/include/stellaris_periph/sysctl.h @@ -37,8 +37,8 @@ // //***************************************************************************** -#ifndef __SYSCTL_H__ -#define __SYSCTL_H__ +#ifndef SYSCTL_H +#define SYSCTL_H //***************************************************************************** // @@ -639,4 +639,4 @@ extern unsigned long SysCtlI2SMClkSet(unsigned long ulInputClock, } #endif -#endif // __SYSCTL_H__ +#endif // SYSCTL_H diff --git a/cpu/stellaris_common/include/stellaris_periph/sysexc.h b/cpu/stellaris_common/include/stellaris_periph/sysexc.h index 1389b62d5351..66b51bcc64ea 100644 --- a/cpu/stellaris_common/include/stellaris_periph/sysexc.h +++ b/cpu/stellaris_common/include/stellaris_periph/sysexc.h @@ -37,8 +37,8 @@ // //***************************************************************************** -#ifndef __SYSEXC_H__ -#define __SYSEXC_H__ +#ifndef SYSEXC_H +#define SYSEXC_H //***************************************************************************** // @@ -86,4 +86,4 @@ extern void SysExcIntClear(unsigned long ulIntFlags); } #endif -#endif // __SYSEXC_H__ +#endif // SYSEXC_H diff --git a/cpu/stellaris_common/include/stellaris_periph/systick.h b/cpu/stellaris_common/include/stellaris_periph/systick.h index ba1c927da807..362f2d28c85f 100644 --- a/cpu/stellaris_common/include/stellaris_periph/systick.h +++ b/cpu/stellaris_common/include/stellaris_periph/systick.h @@ -37,8 +37,8 @@ // //***************************************************************************** -#ifndef __SYSTICK_H__ -#define __SYSTICK_H__ +#ifndef SYSTICK_H +#define SYSTICK_H //***************************************************************************** // @@ -75,4 +75,4 @@ extern unsigned long SysTickValueGet(void); } #endif -#endif // __SYSTICK_H__ +#endif // SYSTICK_H diff --git a/cpu/stellaris_common/include/stellaris_periph/timer.h b/cpu/stellaris_common/include/stellaris_periph/timer.h index 7df7de8b828d..25bd8c616751 100644 --- a/cpu/stellaris_common/include/stellaris_periph/timer.h +++ b/cpu/stellaris_common/include/stellaris_periph/timer.h @@ -37,8 +37,8 @@ // //***************************************************************************** -#ifndef __TIMER_H__ -#define __TIMER_H__ +#ifndef TIMER_H +#define TIMER_H //***************************************************************************** // @@ -233,4 +233,4 @@ extern void TimerQuiesce(unsigned long ulBase); } #endif -#endif // __TIMER_H__ +#endif // TIMER_H diff --git a/cpu/stellaris_common/include/stellaris_periph/uart.h b/cpu/stellaris_common/include/stellaris_periph/uart.h index fe95b2d88389..895c955b7c41 100644 --- a/cpu/stellaris_common/include/stellaris_periph/uart.h +++ b/cpu/stellaris_common/include/stellaris_periph/uart.h @@ -37,8 +37,8 @@ // //***************************************************************************** -#ifndef __UART_H__ -#define __UART_H__ +#ifndef UART_H +#define UART_H //***************************************************************************** // @@ -272,4 +272,4 @@ extern void UART9BitAddrSend(unsigned long ulBase, unsigned char ucAddr); } #endif -#endif // __UART_H__ +#endif // UART_H diff --git a/cpu/stellaris_common/include/stellaris_periph/watchdog.h b/cpu/stellaris_common/include/stellaris_periph/watchdog.h index 97dee207d57f..9243cfff32e9 100644 --- a/cpu/stellaris_common/include/stellaris_periph/watchdog.h +++ b/cpu/stellaris_common/include/stellaris_periph/watchdog.h @@ -37,8 +37,8 @@ // //***************************************************************************** -#ifndef __WATCHDOG_H__ -#define __WATCHDOG_H__ +#ifndef WATCHDOG_H +#define WATCHDOG_H //***************************************************************************** // @@ -92,4 +92,4 @@ extern void WatchdogStallDisable(unsigned long ulBase); } #endif -#endif // __WATCHDOG_H__ +#endif // WATCHDOG_H diff --git a/cpu/stm32f0/include/cpu_conf.h b/cpu/stm32f0/include/cpu_conf.h index d99e8b521136..dc5029e8cea5 100644 --- a/cpu/stm32f0/include/cpu_conf.h +++ b/cpu/stm32f0/include/cpu_conf.h @@ -18,8 +18,8 @@ * @author Hauke Petersen */ -#ifndef __CPU_CONF_H -#define __CPU_CONF_H +#ifndef CPU_CONF_H +#define CPU_CONF_H #ifdef CPU_MODEL_STM32F051R8 #include "stm32f051x8.h" @@ -44,5 +44,5 @@ extern "C" { } #endif -#endif /* __CPU_CONF_H */ +#endif /* CPU_CONF_H */ /** @} */ diff --git a/cpu/stm32f0/include/stm32f051x8.h b/cpu/stm32f0/include/stm32f051x8.h index c769f287146c..0091344c012b 100644 --- a/cpu/stm32f0/include/stm32f051x8.h +++ b/cpu/stm32f0/include/stm32f051x8.h @@ -50,8 +50,8 @@ * @{ */ -#ifndef __STM32F051x8_H -#define __STM32F051x8_H +#ifndef STM32F051x8_H +#define STM32F051x8_H #ifdef __cplusplus extern "C" { @@ -3781,7 +3781,7 @@ typedef struct } #endif /* __cplusplus */ -#endif /* __STM32F051x8_H */ +#endif /* STM32F051x8_H */ /** * @} diff --git a/cpu/stm32f0/include/stm32f091xc.h b/cpu/stm32f0/include/stm32f091xc.h index 1a2de2ddf33d..0478ded96da2 100644 --- a/cpu/stm32f0/include/stm32f091xc.h +++ b/cpu/stm32f0/include/stm32f091xc.h @@ -49,8 +49,8 @@ * @{ */ -#ifndef __STM32F091xC_H -#define __STM32F091xC_H +#ifndef STM32F091xC_H +#define STM32F091xC_H #ifdef __cplusplus extern "C" { @@ -5765,7 +5765,7 @@ typedef struct } #endif /* __cplusplus */ -#endif /* __STM32F091xC_H */ +#endif /* STM32F091xC_H */ /** * @} diff --git a/cpu/stm32f1/include/stm32f103xe.h b/cpu/stm32f1/include/stm32f103xe.h index a6f689aa1306..a90fa7f3dbd4 100644 --- a/cpu/stm32f1/include/stm32f103xe.h +++ b/cpu/stm32f1/include/stm32f103xe.h @@ -52,8 +52,8 @@ * @{ */ -#ifndef __STM32F103xE_H -#define __STM32F103xE_H +#ifndef STM32F103xE_H +#define STM32F103xE_H #ifdef __cplusplus extern "C" { @@ -6842,7 +6842,7 @@ typedef struct } #endif /* __cplusplus */ -#endif /* __STM32F103xE_H */ +#endif /* STM32F10x_H */ diff --git a/cpu/stm32f3/include/cpu_conf.h b/cpu/stm32f3/include/cpu_conf.h index 59b05070eb37..17ed6fc631ce 100644 --- a/cpu/stm32f3/include/cpu_conf.h +++ b/cpu/stm32f3/include/cpu_conf.h @@ -19,8 +19,8 @@ * @author Katja Kirstein */ -#ifndef __CPU_CONF_H -#define __CPU_CONF_H +#ifndef CPU_CONF_H +#define CPU_CONF_H #ifdef CPU_MODEL_STM32F303VC #include "stm32f303xc.h" @@ -50,5 +50,5 @@ extern "C" { } #endif -#endif /* __CPU_CONF_H */ +#endif /* CPU_CONF_H */ /** @} */ diff --git a/cpu/stm32f3/include/stm32f303xc.h b/cpu/stm32f3/include/stm32f303xc.h index f49742e6ccb3..2a63eec22f66 100644 --- a/cpu/stm32f3/include/stm32f303xc.h +++ b/cpu/stm32f3/include/stm32f303xc.h @@ -49,8 +49,8 @@ * @{ */ -#ifndef __STM32F303xC_H -#define __STM32F303xC_H +#ifndef STM32F303xC_H +#define STM32F303xC_H #ifdef __cplusplus extern "C" { @@ -6977,7 +6977,7 @@ typedef struct } #endif /* __cplusplus */ -#endif /* __STM32F303xC_H */ +#endif /* STM32F303xC_H */ /** * @} diff --git a/cpu/stm32f3/include/stm32f303xe.h b/cpu/stm32f3/include/stm32f303xe.h index 10b3e2a86e58..8ca99f50fa77 100644 --- a/cpu/stm32f3/include/stm32f303xe.h +++ b/cpu/stm32f3/include/stm32f303xe.h @@ -49,8 +49,8 @@ * @{ */ -#ifndef __STM32F303xE_H -#define __STM32F303xE_H +#ifndef STM32F303xE_H +#define STM32F303xE_H #ifdef __cplusplus extern "C" { @@ -8198,7 +8198,7 @@ typedef struct } #endif /* __cplusplus */ -#endif /* __STM32F303xE_H */ +#endif /* STM32F303xE_H */ /** * @} diff --git a/cpu/stm32f3/include/stm32f334x8.h b/cpu/stm32f3/include/stm32f334x8.h index 7e0f40d6dddc..26348529f163 100644 --- a/cpu/stm32f3/include/stm32f334x8.h +++ b/cpu/stm32f3/include/stm32f334x8.h @@ -49,8 +49,8 @@ * @{ */ -#ifndef __STM32F334x8_H -#define __STM32F334x8_H +#ifndef STM32F334x8_H +#define STM32F334x8_H #ifdef __cplusplus extern "C" { @@ -7590,7 +7590,7 @@ typedef struct } #endif /* __cplusplus */ -#endif /* __STM32F334x8_H */ +#endif /* STM32F334x8_H */ /** * @} diff --git a/cpu/stm32f4/include/cpu_conf.h b/cpu/stm32f4/include/cpu_conf.h index ab99da295eae..d30cf0c22bdb 100644 --- a/cpu/stm32f4/include/cpu_conf.h +++ b/cpu/stm32f4/include/cpu_conf.h @@ -18,8 +18,8 @@ * @author Hauke Petersen */ -#ifndef __CPU_CONF_H -#define __CPU_CONF_H +#ifndef CPU_CONF_H +#define CPU_CONF_H #if defined(CPU_MODEL_STM32F401RE) #include "stm32f401xe.h" @@ -46,5 +46,5 @@ extern "C" { } #endif -#endif /* __CPU_CONF_H */ +#endif /* CPU_CONF_H */ /** @} */ diff --git a/cpu/stm32f4/include/stm32f401xe.h b/cpu/stm32f4/include/stm32f401xe.h index 5aee1435652d..37285418ab79 100644 --- a/cpu/stm32f4/include/stm32f401xe.h +++ b/cpu/stm32f4/include/stm32f401xe.h @@ -49,8 +49,8 @@ * @{ */ -#ifndef __STM32F401xE_H -#define __STM32F401xE_H +#ifndef STM32F401xE_H +#define STM32F401xE_H #ifdef __cplusplus extern "C" { @@ -4764,7 +4764,7 @@ USB_OTG_HostChannelTypeDef; } #endif /* __cplusplus */ -#endif /* __STM32F401xE_H */ +#endif /* STM32F401xE_H */ diff --git a/cpu/stm32f4/include/stm32f407xx.h b/cpu/stm32f4/include/stm32f407xx.h index 56080944d24e..af53f573b8f9 100644 --- a/cpu/stm32f4/include/stm32f407xx.h +++ b/cpu/stm32f4/include/stm32f407xx.h @@ -49,8 +49,8 @@ * @{ */ -#ifndef __STM32F407xx_H -#define __STM32F407xx_H +#ifndef STM32F407xx_H +#define STM32F407xx_H #ifdef __cplusplus extern "C" { @@ -7943,7 +7943,7 @@ USB_OTG_HostChannelTypeDef; } #endif /* __cplusplus */ -#endif /* __STM32F407xx_H */ +#endif /* STM32F407xx_H */ diff --git a/cpu/stm32f4/include/stm32f415xx.h b/cpu/stm32f4/include/stm32f415xx.h index badc36e10ed0..c5b2bf4ca609 100644 --- a/cpu/stm32f4/include/stm32f415xx.h +++ b/cpu/stm32f4/include/stm32f415xx.h @@ -49,8 +49,8 @@ * @{ */ -#ifndef __STM32F415xx_H -#define __STM32F415xx_H +#ifndef STM32F415xx_H +#define STM32F415xx_H #ifdef __cplusplus extern "C" { @@ -7518,7 +7518,7 @@ USB_OTG_HostChannelTypeDef; } #endif /* __cplusplus */ -#endif /* __STM32F415xx_H */ +#endif /* STM32F415xx_H */ diff --git a/cpu/stm32l1/include/stm32l1xx.h b/cpu/stm32l1/include/stm32l1xx.h index 0f6d9e3834b2..9e168897481f 100644 --- a/cpu/stm32l1/include/stm32l1xx.h +++ b/cpu/stm32l1/include/stm32l1xx.h @@ -51,8 +51,8 @@ * @{ */ -#ifndef __STM32L1XX_H -#define __STM32L1XX_H +#ifndef STM32L1XX_H +#define STM32L1XX_H #ifdef __cplusplus extern "C" { @@ -6661,7 +6661,7 @@ typedef struct } #endif -#endif /* __STM32L1XX_H */ +#endif /* STM32L1XX_H */ /** * @} diff --git a/cpu/x86/include/x86_pci_init.h b/cpu/x86/include/x86_pci_init.h index 71ce5af20eca..67e504b23a3f 100644 --- a/cpu/x86/include/x86_pci_init.h +++ b/cpu/x86/include/x86_pci_init.h @@ -16,8 +16,8 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ -#ifndef __X86__PCI_INIT__H -#define __X86__PCI_INIT__H +#ifndef X86_PCI_INIT_H +#define X86_PCI_INIT_H #ifdef __cplusplus extern "C" { diff --git a/dist/tools/ethos/.gitignore b/dist/tools/ethos/.gitignore new file mode 100644 index 000000000000..31a9007b43d6 --- /dev/null +++ b/dist/tools/ethos/.gitignore @@ -0,0 +1 @@ +ethos