From c9bedd2d51ccaccc4e500ae29cf74c2168ab0ae9 Mon Sep 17 00:00:00 2001 From: zhuoshuguo <shuguo.zhuo@inria.fr> Date: Sat, 25 Jun 2016 19:26:28 +0200 Subject: [PATCH] cpu/stellaris: fix include guards. --- 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 +++--- 13 files changed, 39 insertions(+), 39 deletions(-) diff --git a/cpu/stellaris_common/include/stellaris_periph/i2c.h b/cpu/stellaris_common/include/stellaris_periph/i2c.h index eebbacc90e..1b45a3366b 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 STELLARIS_I2C_H_ +#define STELLARIS_I2C_H_ //***************************************************************************** // @@ -221,4 +221,4 @@ extern unsigned long I2CSlaveStatus(unsigned long ulBase); } #endif -#endif // __I2C_H__ +#endif /* STELLARIS_I2C_H_ */ diff --git a/cpu/stellaris_common/include/stellaris_periph/interrupt.h b/cpu/stellaris_common/include/stellaris_periph/interrupt.h index 5afed45808..f7d23c17d4 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 STELLARIS_INTERRUPT_H_ +#define STELLARIS_INTERRUPT_H_ //***************************************************************************** // @@ -90,4 +90,4 @@ extern unsigned long IntPriorityMaskGet(void); } #endif -#endif // __INTERRUPT_H__ +#endif /* STELLARIS_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 d36a0bbc65..8bd33a4aad 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 STELLARIS_PIN_MAP_H_ +#define STELLARIS_PIN_MAP_H_ #ifdef __cplusplus extern "C" { @@ -454,4 +454,4 @@ extern "C" { } #endif -#endif // __PIN_MAP_H__ +#endif /* STELLARIS_PIN_MAP_H_ */ diff --git a/cpu/stellaris_common/include/stellaris_periph/pwm.h b/cpu/stellaris_common/include/stellaris_periph/pwm.h index db9d9654d2..7692d624c1 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 STELLARIS_PWM_H_ +#define STELLARIS_PWM_H_ //***************************************************************************** // @@ -295,4 +295,4 @@ extern void PWMGenFaultClear(unsigned long ulBase, unsigned long ulGen, } #endif -#endif // __PWM_H__ +#endif /* STELLARIS_PWM_H_ */ diff --git a/cpu/stellaris_common/include/stellaris_periph/rom.h b/cpu/stellaris_common/include/stellaris_periph/rom.h index 870e2aa24f..aa92d03b83 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 STELLARIS_ROM_H_ +#define STELLARIS_ROM_H_ #ifdef __cplusplus extern "C" { @@ -6749,4 +6749,4 @@ extern "C" { } #endif -#endif // __ROM_H__ +#endif /* STELLARIS_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 976da29c6a..c48269eb3c 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 STELLARIS_ROM_MAP_H_ +#define STELLARIS_ROM_MAP_H_ #ifdef __cplusplus extern "C" { @@ -5080,4 +5080,4 @@ extern "C" { } #endif -#endif // __ROM_MAP_H__ +#endif /* STELLARIS_ROM_MAP_H_ */ diff --git a/cpu/stellaris_common/include/stellaris_periph/ssi.h b/cpu/stellaris_common/include/stellaris_periph/ssi.h index 20af87e7f3..00dbe38e69 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 STELLARIS_SSI_H_ +#define STELLARIS_SSI_H_ //***************************************************************************** // @@ -148,4 +148,4 @@ extern unsigned long SSIClockSourceGet(unsigned long ulBase); } #endif -#endif // __SSI_H__ +#endif /* STELLARIS_SSI_H_ */ diff --git a/cpu/stellaris_common/include/stellaris_periph/sysctl.h b/cpu/stellaris_common/include/stellaris_periph/sysctl.h index c7c5748a40..21dd874188 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 STELLARIS_SYSCTL_H_ +#define STELLARIS_SYSCTL_H_ //***************************************************************************** // @@ -639,4 +639,4 @@ extern unsigned long SysCtlI2SMClkSet(unsigned long ulInputClock, } #endif -#endif // __SYSCTL_H__ +#endif /* STELLARIS_SYSCTL_H_ */ diff --git a/cpu/stellaris_common/include/stellaris_periph/sysexc.h b/cpu/stellaris_common/include/stellaris_periph/sysexc.h index 1389b62d53..e61422baf6 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 STELLARIS_SYSEXC_H_ +#define STELLARIS_SYSEXC_H_ //***************************************************************************** // @@ -86,4 +86,4 @@ extern void SysExcIntClear(unsigned long ulIntFlags); } #endif -#endif // __SYSEXC_H__ +#endif /* STELLARIS_SYSEXC_H_ */ diff --git a/cpu/stellaris_common/include/stellaris_periph/systick.h b/cpu/stellaris_common/include/stellaris_periph/systick.h index ba1c927da8..399c848515 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 STELLARIS_SYSTICK_H_ +#define STELLARIS_SYSTICK_H_ //***************************************************************************** // @@ -75,4 +75,4 @@ extern unsigned long SysTickValueGet(void); } #endif -#endif // __SYSTICK_H__ +#endif /* STELLARIS_SYSTICK_H_ */ diff --git a/cpu/stellaris_common/include/stellaris_periph/timer.h b/cpu/stellaris_common/include/stellaris_periph/timer.h index 7df7de8b82..2db3c64380 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 STELLARIS_TIMER_H_ +#define STELLARIS_TIMER_H_ //***************************************************************************** // @@ -233,4 +233,4 @@ extern void TimerQuiesce(unsigned long ulBase); } #endif -#endif // __TIMER_H__ +#endif /* STELLARIS_TIMER_H_ */ diff --git a/cpu/stellaris_common/include/stellaris_periph/uart.h b/cpu/stellaris_common/include/stellaris_periph/uart.h index fe95b2d883..de0649784b 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 STELLARIS_UART_H_ +#define STELLARIS_UART_H_ //***************************************************************************** // @@ -272,4 +272,4 @@ extern void UART9BitAddrSend(unsigned long ulBase, unsigned char ucAddr); } #endif -#endif // __UART_H__ +#endif /* STELLARIS_UART_H_ */ diff --git a/cpu/stellaris_common/include/stellaris_periph/watchdog.h b/cpu/stellaris_common/include/stellaris_periph/watchdog.h index 97dee207d5..2a332479b3 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 STELLARIS_WATCHDOG_H_ +#define STELLARIS_WATCHDOG_H_ //***************************************************************************** // @@ -92,4 +92,4 @@ extern void WatchdogStallDisable(unsigned long ulBase); } #endif -#endif // __WATCHDOG_H__ +#endif /* STELLARIS_WATCHDOG_H_ */ -- GitLab