From 451bf78549da57886556fdcfba5e7128fa1cc4e2 Mon Sep 17 00:00:00 2001 From: Alexandru Caciulescu Date: Mon, 23 Mar 2015 22:07:50 +0200 Subject: [PATCH] drivers/include/periph: Repair header file include guards --- drivers/include/periph/adc.h | 6 +++--- drivers/include/periph/cpuid.h | 6 +++--- drivers/include/periph/dac.h | 6 +++--- drivers/include/periph/gpio.h | 6 +++--- drivers/include/periph/i2c.h | 6 +++--- drivers/include/periph/pwm.h | 6 +++--- drivers/include/periph/random.h | 6 +++--- drivers/include/periph/rtc.h | 6 +++--- drivers/include/periph/rtt.h | 6 +++--- drivers/include/periph/spi.h | 6 +++--- drivers/include/periph/timer.h | 6 +++--- drivers/include/periph/uart.h | 6 +++--- 12 files changed, 36 insertions(+), 36 deletions(-) diff --git a/drivers/include/periph/adc.h b/drivers/include/periph/adc.h index b7c0bb04b0..d6c841087b 100644 --- a/drivers/include/periph/adc.h +++ b/drivers/include/periph/adc.h @@ -18,8 +18,8 @@ * @author Hauke Petersen */ -#ifndef __ADC_H -#define __ADC_H +#ifndef ADC_H +#define ADC_H #include "periph_conf.h" @@ -141,5 +141,5 @@ float adc_mapf(adc_t dev, int value, float min, float max); } #endif -#endif /* __ADC_H */ +#endif /* ADC_H */ /** @} */ diff --git a/drivers/include/periph/cpuid.h b/drivers/include/periph/cpuid.h index 2bd6e5e685..b7e38767aa 100644 --- a/drivers/include/periph/cpuid.h +++ b/drivers/include/periph/cpuid.h @@ -20,8 +20,8 @@ * @author Martine Lenders */ -#ifndef __PERIPH_CPUID_H_ -#define __PERIPH_CPUID_H_ +#ifndef PERIPH_CPUID_H_ +#define PERIPH_CPUID_H_ #include "cpu-conf.h" @@ -51,7 +51,7 @@ void cpuid_get(void *id); } #endif -#endif /* __PERIPH_CPUID_H_ */ +#endif /* PERIPH_CPUID_H_ */ /** * @} */ diff --git a/drivers/include/periph/dac.h b/drivers/include/periph/dac.h index 7aef465d64..b827ece489 100644 --- a/drivers/include/periph/dac.h +++ b/drivers/include/periph/dac.h @@ -18,8 +18,8 @@ * @author Simon Brummer */ -#ifndef __DAC_H -#define __DAC_H +#ifndef DAC_H +#define DAC_H #include #include "periph_conf.h" @@ -148,5 +148,5 @@ uint16_t dac_mapf(dac_t dev, float value, float min, float max); #ifdef __cplusplus } #endif -#endif /* __DAC_H */ +#endif /* DAC_H */ /** @} */ diff --git a/drivers/include/periph/gpio.h b/drivers/include/periph/gpio.h index 40a0fb3f74..6d02fe3b55 100644 --- a/drivers/include/periph/gpio.h +++ b/drivers/include/periph/gpio.h @@ -18,8 +18,8 @@ * @author Hauke Petersen */ -#ifndef __GPIO_H -#define __GPIO_H +#ifndef GPIO_H +#define GPIO_H #include "periph_conf.h" @@ -259,5 +259,5 @@ void gpio_write(gpio_t dev, int value); } #endif -#endif /* __GPIO_H */ +#endif /* GPIO_H */ /** @} */ diff --git a/drivers/include/periph/i2c.h b/drivers/include/periph/i2c.h index a44c7ea665..552f1fdd10 100644 --- a/drivers/include/periph/i2c.h +++ b/drivers/include/periph/i2c.h @@ -49,8 +49,8 @@ * @author Thomas Eichinger */ -#ifndef __I2C_H -#define __I2C_H +#ifndef I2C_H +#define I2C_H #include @@ -267,5 +267,5 @@ void i2c_poweroff(i2c_t dev); } #endif -#endif /* __I2C_H */ +#endif /* I2C_H */ /** @} */ diff --git a/drivers/include/periph/pwm.h b/drivers/include/periph/pwm.h index 14b492cf96..15b7792b3e 100644 --- a/drivers/include/periph/pwm.h +++ b/drivers/include/periph/pwm.h @@ -18,8 +18,8 @@ * @author Hauke Petersen */ -#ifndef __PWM_H -#define __PWM_H +#ifndef PWM_H +#define PWM_H #include "periph_conf.h" @@ -137,5 +137,5 @@ void pwm_poweroff(pwm_t dev); } #endif -#endif /* __PWM_H */ +#endif /* PWM_H */ /** @} */ diff --git a/drivers/include/periph/random.h b/drivers/include/periph/random.h index c0b4823dd9..7eb587d961 100644 --- a/drivers/include/periph/random.h +++ b/drivers/include/periph/random.h @@ -26,8 +26,8 @@ * @author Christian Mehlis */ -#ifndef __RANDOM_H -#define __RANDOM_H +#ifndef RANDOM_H +#define RANDOM_H #include "periph_conf.h" @@ -77,5 +77,5 @@ void random_poweroff(void); } #endif -#endif /* __RANDOM_H */ +#endif /* RANDOM_H */ /** @} */ diff --git a/drivers/include/periph/rtc.h b/drivers/include/periph/rtc.h index 1451439c3d..9e336043ad 100644 --- a/drivers/include/periph/rtc.h +++ b/drivers/include/periph/rtc.h @@ -23,8 +23,8 @@ * @author Thomas Eichinger */ -#ifndef __RTC_H -#define __RTC_H +#ifndef RTC_H +#define RTC_H #include #include "periph_conf.h" @@ -114,5 +114,5 @@ void rtc_poweroff(void); } #endif -#endif /* __RTC_H */ +#endif /* RTC_H */ /** @} */ diff --git a/drivers/include/periph/rtt.h b/drivers/include/periph/rtt.h index 8ed18cb0f5..b41cc20f7f 100644 --- a/drivers/include/periph/rtt.h +++ b/drivers/include/periph/rtt.h @@ -20,8 +20,8 @@ * @author Hauke Petersen */ -#ifndef __RTT_H -#define __RTT_H +#ifndef RTT_H +#define RTT_H #include "periph_conf.h" @@ -111,5 +111,5 @@ void rtt_poweroff(void); } #endif -#endif /* __RTT_H */ +#endif /* RTT_H */ /** @} */ diff --git a/drivers/include/periph/spi.h b/drivers/include/periph/spi.h index 2dc520f561..786c161abe 100644 --- a/drivers/include/periph/spi.h +++ b/drivers/include/periph/spi.h @@ -22,8 +22,8 @@ * @author Hauke Petersen */ -#ifndef __SPI_H -#define __SPI_H +#ifndef SPI_H +#define SPI_H #include "periph_conf.h" @@ -252,5 +252,5 @@ void spi_poweroff(spi_t dev); } #endif -#endif /* __SPI_H */ +#endif /* SPI_H */ /** @} */ diff --git a/drivers/include/periph/timer.h b/drivers/include/periph/timer.h index 475bb20571..1f51040166 100644 --- a/drivers/include/periph/timer.h +++ b/drivers/include/periph/timer.h @@ -18,8 +18,8 @@ * @author Hauke Petersen */ -#ifndef __TIMER_H -#define __TIMER_H +#ifndef TIMER_H +#define TIMER_H #include "periph_conf.h" @@ -151,5 +151,5 @@ void timer_reset(tim_t dev); } #endif -#endif /* __TIMER_H */ +#endif /* TIMER_H */ /** @} */ diff --git a/drivers/include/periph/uart.h b/drivers/include/periph/uart.h index 1ef0e4945c..c964858943 100644 --- a/drivers/include/periph/uart.h +++ b/drivers/include/periph/uart.h @@ -18,8 +18,8 @@ * @author Hauke Petersen */ -#ifndef __PERIPH_UART_H -#define __PERIPH_UART_H +#ifndef PERIPH_UART_H +#define PERIPH_UART_H #include @@ -179,5 +179,5 @@ void uart_poweroff(uart_t uart); } #endif -#endif /* __PERIPH_UART_H */ +#endif /* PERIPH_UART_H */ /** @} */