Merge pull request #2690 from Darredevil/patch-13

Repair header file include guards for /drivers
This commit is contained in:
Oleg Hahm 2015-03-24 11:04:18 -05:00
commit 985a6525cc
34 changed files with 97 additions and 97 deletions

View File

@ -16,8 +16,8 @@
* @author Heiko Will <hwill@inf.fu-berlin.de> * @author Heiko Will <hwill@inf.fu-berlin.de>
*/ */
#ifndef __CC1100_ARCH_H #ifndef CC1100_ARCH_H
#define __CC1100_ARCH_H #define CC1100_ARCH_H
#include <stdint.h> #include <stdint.h>
@ -41,4 +41,4 @@ void cc110x_after_send(void);
#endif #endif
/** @} */ /** @} */
#endif /* __CC1100_ARCH_H */ #endif /* CC1100_ARCH_H */

View File

@ -119,4 +119,4 @@ typedef struct cc110x_statistic {
#endif #endif
/** @} */ /** @} */
#endif /* __CC110X_CONFIG_H */ #endif /* CC110X_CONFIG_H */

View File

@ -6,8 +6,8 @@
* directory for more details. * directory for more details.
*/ */
#ifndef __CC1100_DEFAULTSETTINGS_H #ifndef CC1100_DEFAULTSETTINGS_H
#define __CC1100_DEFAULTSETTINGS_H #define CC1100_DEFAULTSETTINGS_H
/** /**
* @ingroup drivers_cc110x_legacy * @ingroup drivers_cc110x_legacy
@ -87,4 +87,4 @@ extern "C" {
#endif #endif
/** @} */ /** @} */
#endif /* __CC110X_DEFAULTSETTINGS_H */ #endif /* CC110X_DEFAULTSETTINGS_H */

View File

@ -17,8 +17,8 @@
* @author Oliver Hahm <oliver.hahm@inria.fr> * @author Oliver Hahm <oliver.hahm@inria.fr>
*/ */
#ifndef __CC110X_REG_H #ifndef CC110X_REG_H
#define __CC110X_REG_H #define CC110X_REG_H
#include <stdint.h> #include <stdint.h>
@ -97,4 +97,4 @@ uint8_t cc110x_strobe(uint8_t c);
#endif #endif
/** @} */ /** @} */
#endif /* __CC110X_REG_H */ #endif /* CC110X_REG_H */

View File

@ -20,8 +20,8 @@
* @author Hauke Petersen <hauke.petersen@fu-berlin.de> * @author Hauke Petersen <hauke.petersen@fu-berlin.de>
*/ */
#ifndef __LPS331AP_H #ifndef LPS331AP_H
#define __LPS331AP_H #define LPS331AP_H
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {
@ -108,5 +108,5 @@ int lps331ap_disable(lps331ap_t *dev);
} }
#endif #endif
#endif /* __LPS331AP_H */ #endif /* LPS331AP_H */
/** @} */ /** @} */

View File

@ -18,8 +18,8 @@
* @author Thomas Eichinger <thomas.eichinger@fu-berlin.de> * @author Thomas Eichinger <thomas.eichinger@fu-berlin.de>
*/ */
#ifndef __LSM303DLHC_H #ifndef LSM303DLHC_H
#define __LSM303DLHC_H #define LSM303DLHC_H
#include <stdint.h> #include <stdint.h>
#include "periph/i2c.h" #include "periph/i2c.h"
@ -213,5 +213,5 @@ int lsm303dlhc_disable(lsm303dlhc_t *dev);
} }
#endif #endif
#endif /* __LSM303DLHC_H */ #endif /* LSM303DLHC_H */
/** @} */ /** @} */

View File

@ -6,8 +6,8 @@
* directory for more details. * directory for more details.
*/ */
#ifndef __LTC4150_H #ifndef LTC4150_H
#define __LTC4150_H #define LTC4150_H
#include "ltc4150_arch.h" #include "ltc4150_arch.h"
@ -30,4 +30,4 @@ long ltc4150_get_intcount(void);
} }
#endif #endif
#endif /* __LTC4150_H */ #endif /* LTC4150_H */

View File

@ -18,8 +18,8 @@
* @author Hauke Petersen <hauke.petersen@fu-berlin.de> * @author Hauke Petersen <hauke.petersen@fu-berlin.de>
*/ */
#ifndef __MQ3_H #ifndef MQ3_H
#define __MQ3_H #define MQ3_H
#include "periph/adc.h" #include "periph/adc.h"
@ -76,5 +76,5 @@ int mq3_read(mq3_t *dev);
} }
#endif #endif
#endif /* __MQ3_H */ #endif /* MQ3_H */
/** @} */ /** @} */

View File

@ -17,8 +17,8 @@
* *
*/ */
#ifndef __NETDEV_802154_H_ #ifndef NETDEV_802154_H_
#define __NETDEV_802154_H_ #define NETDEV_802154_H_
#include <stdint.h> #include <stdint.h>
@ -422,7 +422,7 @@ netdev_802154_tx_status_t netdev_802154_send(netdev_t *dev,
} }
#endif #endif
#endif /* __NETDEV_802154_H_ */ #endif /* NETDEV_802154_H_ */
/** /**
* @} * @}

View File

@ -16,8 +16,8 @@
* @author Martine Lenders <mlenders@inf.fu-berlin.de> * @author Martine Lenders <mlenders@inf.fu-berlin.de>
*/ */
#ifndef __NETDEV_BASE_H_ #ifndef NETDEV_BASE_H_
#define __NETDEV_BASE_H_ #define NETDEV_BASE_H_
#include <errno.h> #include <errno.h>
#include <stdint.h> #include <stdint.h>
@ -402,7 +402,7 @@ static inline void netdev_hlist_remove(netdev_hlist_t **list,
} }
#endif #endif
#endif /* __NETDEV_BASE_H_ */ #endif /* NETDEV_BASE_H_ */
/** /**
* @} * @}
*/ */

View File

@ -17,8 +17,8 @@
* @author Martine Lenders <mlenders@inf.fu-berlin.de> * @author Martine Lenders <mlenders@inf.fu-berlin.de>
*/ */
#ifndef __NETDEV_DEFAULT_H_ #ifndef NETDEV_DEFAULT_H_
#define __NETDEV_DEFAULT_H_ #define NETDEV_DEFAULT_H_
#include "netdev/base.h" #include "netdev/base.h"
@ -59,5 +59,5 @@ extern "C" {
} }
#endif #endif
#endif /* __NETDEV_DEFAULT_H_ */ #endif /* NETDEV_DEFAULT_H_ */
/** @} */ /** @} */

View File

@ -20,8 +20,8 @@
* *
*/ */
#ifndef __NRF24L01P_H #ifndef NRF24L01P_H
#define __NRF24L01P_H #define NRF24L01P_H
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {
@ -583,5 +583,5 @@ void nrf24l01p_rx_cb(void *arg);
} }
#endif #endif
#endif /* __NRF24L01P_H */ #endif /* NRF24L01P_H */
/** @} */ /** @} */

View File

@ -18,8 +18,8 @@
* @author Hauke Petersen <hauke.petersen@fu-berlin.de> * @author Hauke Petersen <hauke.petersen@fu-berlin.de>
*/ */
#ifndef __ADC_H #ifndef ADC_H
#define __ADC_H #define ADC_H
#include "periph_conf.h" #include "periph_conf.h"
@ -141,5 +141,5 @@ float adc_mapf(adc_t dev, int value, float min, float max);
} }
#endif #endif
#endif /* __ADC_H */ #endif /* ADC_H */
/** @} */ /** @} */

View File

@ -20,8 +20,8 @@
* @author Martine Lenders <mlenders@inf.fu-berlin.de> * @author Martine Lenders <mlenders@inf.fu-berlin.de>
*/ */
#ifndef __PERIPH_CPUID_H_ #ifndef PERIPH_CPUID_H_
#define __PERIPH_CPUID_H_ #define PERIPH_CPUID_H_
#include "cpu-conf.h" #include "cpu-conf.h"
@ -51,7 +51,7 @@ void cpuid_get(void *id);
} }
#endif #endif
#endif /* __PERIPH_CPUID_H_ */ #endif /* PERIPH_CPUID_H_ */
/** /**
* @} * @}
*/ */

View File

@ -18,8 +18,8 @@
* @author Simon Brummer <simon.brummer@haw-hamburg.de> * @author Simon Brummer <simon.brummer@haw-hamburg.de>
*/ */
#ifndef __DAC_H #ifndef DAC_H
#define __DAC_H #define DAC_H
#include <stdint.h> #include <stdint.h>
#include "periph_conf.h" #include "periph_conf.h"
@ -148,5 +148,5 @@ uint16_t dac_mapf(dac_t dev, float value, float min, float max);
#ifdef __cplusplus #ifdef __cplusplus
} }
#endif #endif
#endif /* __DAC_H */ #endif /* DAC_H */
/** @} */ /** @} */

View File

@ -18,8 +18,8 @@
* @author Hauke Petersen <hauke.petersen@fu-berlin.de> * @author Hauke Petersen <hauke.petersen@fu-berlin.de>
*/ */
#ifndef __GPIO_H #ifndef GPIO_H
#define __GPIO_H #define GPIO_H
#include "periph_conf.h" #include "periph_conf.h"
@ -259,5 +259,5 @@ void gpio_write(gpio_t dev, int value);
} }
#endif #endif
#endif /* __GPIO_H */ #endif /* GPIO_H */
/** @} */ /** @} */

View File

@ -49,8 +49,8 @@
* @author Thomas Eichinger <thomas.eichinger@fu-berlin.de> * @author Thomas Eichinger <thomas.eichinger@fu-berlin.de>
*/ */
#ifndef __I2C_H #ifndef I2C_H
#define __I2C_H #define I2C_H
#include <stdint.h> #include <stdint.h>
@ -267,5 +267,5 @@ void i2c_poweroff(i2c_t dev);
} }
#endif #endif
#endif /* __I2C_H */ #endif /* I2C_H */
/** @} */ /** @} */

View File

@ -18,8 +18,8 @@
* @author Hauke Petersen <hauke.petersen@fu-berlin.de> * @author Hauke Petersen <hauke.petersen@fu-berlin.de>
*/ */
#ifndef __PWM_H #ifndef PWM_H
#define __PWM_H #define PWM_H
#include "periph_conf.h" #include "periph_conf.h"
@ -137,5 +137,5 @@ void pwm_poweroff(pwm_t dev);
} }
#endif #endif
#endif /* __PWM_H */ #endif /* PWM_H */
/** @} */ /** @} */

View File

@ -26,8 +26,8 @@
* @author Christian Mehlis <mehlis@inf.fu-berlin.de> * @author Christian Mehlis <mehlis@inf.fu-berlin.de>
*/ */
#ifndef __RANDOM_H #ifndef RANDOM_H
#define __RANDOM_H #define RANDOM_H
#include "periph_conf.h" #include "periph_conf.h"
@ -77,5 +77,5 @@ void random_poweroff(void);
} }
#endif #endif
#endif /* __RANDOM_H */ #endif /* RANDOM_H */
/** @} */ /** @} */

View File

@ -23,8 +23,8 @@
* @author Thomas Eichinger <thomas.eichinger@fu-berlin.de> * @author Thomas Eichinger <thomas.eichinger@fu-berlin.de>
*/ */
#ifndef __RTC_H #ifndef RTC_H
#define __RTC_H #define RTC_H
#include <time.h> #include <time.h>
#include "periph_conf.h" #include "periph_conf.h"
@ -114,5 +114,5 @@ void rtc_poweroff(void);
} }
#endif #endif
#endif /* __RTC_H */ #endif /* RTC_H */
/** @} */ /** @} */

View File

@ -20,8 +20,8 @@
* @author Hauke Petersen <hauke.petersen@fu-berlin.de> * @author Hauke Petersen <hauke.petersen@fu-berlin.de>
*/ */
#ifndef __RTT_H #ifndef RTT_H
#define __RTT_H #define RTT_H
#include "periph_conf.h" #include "periph_conf.h"
@ -111,5 +111,5 @@ void rtt_poweroff(void);
} }
#endif #endif
#endif /* __RTT_H */ #endif /* RTT_H */
/** @} */ /** @} */

View File

@ -22,8 +22,8 @@
* @author Hauke Petersen <hauke.petersen@fu-berlin.de> * @author Hauke Petersen <hauke.petersen@fu-berlin.de>
*/ */
#ifndef __SPI_H #ifndef SPI_H
#define __SPI_H #define SPI_H
#include "periph_conf.h" #include "periph_conf.h"
@ -252,5 +252,5 @@ void spi_poweroff(spi_t dev);
} }
#endif #endif
#endif /* __SPI_H */ #endif /* SPI_H */
/** @} */ /** @} */

View File

@ -18,8 +18,8 @@
* @author Hauke Petersen <hauke.petersen@fu-berlin.de> * @author Hauke Petersen <hauke.petersen@fu-berlin.de>
*/ */
#ifndef __TIMER_H #ifndef TIMER_H
#define __TIMER_H #define TIMER_H
#include "periph_conf.h" #include "periph_conf.h"
@ -151,5 +151,5 @@ void timer_reset(tim_t dev);
} }
#endif #endif
#endif /* __TIMER_H */ #endif /* TIMER_H */
/** @} */ /** @} */

View File

@ -18,8 +18,8 @@
* @author Hauke Petersen <hauke.petersen@fu-berlin.de> * @author Hauke Petersen <hauke.petersen@fu-berlin.de>
*/ */
#ifndef __PERIPH_UART_H #ifndef PERIPH_UART_H
#define __PERIPH_UART_H #define PERIPH_UART_H
#include <stdint.h> #include <stdint.h>
@ -179,5 +179,5 @@ void uart_poweroff(uart_t uart);
} }
#endif #endif
#endif /* __PERIPH_UART_H */ #endif /* PERIPH_UART_H */
/** @} */ /** @} */

View File

@ -18,8 +18,8 @@
* @author Ludwig Ortmann <ludwig.ortmann@fu-berlin.de> * @author Ludwig Ortmann <ludwig.ortmann@fu-berlin.de>
*/ */
#ifndef __PIR_H #ifndef PIR_H
#define __PIR_H #define PIR_H
#include "kernel_types.h" #include "kernel_types.h"
#include "periph/gpio.h" #include "periph/gpio.h"
@ -92,5 +92,5 @@ int pir_register_thread(pir_t *dev);
} }
#endif #endif
#endif /* __PIR_H */ #endif /* PIR_H */
/** @} */ /** @} */

View File

@ -18,8 +18,8 @@
* @author Hauke Petersen <hauke.petersen@fu-berlin.de> * @author Hauke Petersen <hauke.petersen@fu-berlin.de>
*/ */
#ifndef __RGBLED_H #ifndef RGBLED_H
#define __RGBLED_H #define RGBLED_H
#include "color.h" #include "color.h"
#include "periph/pwm.h" #include "periph/pwm.h"
@ -62,5 +62,5 @@ void rgbled_set(rgbled_t *led, color_rgb_t *color);
} }
#endif #endif
#endif /* __RGBLED_H */ #endif /* RGBLED_H */
/** @} */ /** @} */

View File

@ -18,8 +18,8 @@
* @author Hauke Petersen <hauke.petersen@fu-berlin.de> * @author Hauke Petersen <hauke.petersen@fu-berlin.de>
*/ */
#ifndef __SERVO_H #ifndef SERVO_H
#define __SERVO_H #define SERVO_H
#include "periph/pwm.h" #include "periph/pwm.h"
@ -89,5 +89,5 @@ int servo_set(servo_t *dev, unsigned int pos);
} }
#endif #endif
#endif /* __SERVO_H */ #endif /* SERVO_H */
/** @} */ /** @} */

View File

@ -16,8 +16,8 @@
* @author Hauke Petersen <hauke.petersen@fu-berlin.de> * @author Hauke Petersen <hauke.petersen@fu-berlin.de>
*/ */
#ifndef __L3G4200D_REGS_H #ifndef L3G4200D_REGS_H
#define __L3G4200D_REGS_H #define L3G4200D_REGS_H
#ifdef __cplusplus #ifdef __cplusplus
@ -90,5 +90,5 @@
} }
#endif #endif
#endif /* __L3G4200D_REGS_H */ #endif /* L3G4200D_REGS_H */
/** @} */ /** @} */

View File

@ -16,8 +16,8 @@
* @author Hauke Petersen <hauke.petersen@fu-berlin.de> * @author Hauke Petersen <hauke.petersen@fu-berlin.de>
*/ */
#ifndef __LPS331AP_INTERNAL_H #ifndef LPS331AP_INTERNAL_H
#define __LPS331AP_INTERNAL_H #define LPS331AP_INTERNAL_H
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {
@ -66,5 +66,5 @@ extern "C" {
} }
#endif #endif
#endif /* __LPS331AP_INTERNAL_H */ #endif /* LPS331AP_INTERNAL_H */
/** @} */ /** @} */

View File

@ -17,8 +17,8 @@
* @author Thomas Eichinger <thomas.eichinger@fu-berlin.de> * @author Thomas Eichinger <thomas.eichinger@fu-berlin.de>
*/ */
#ifndef __LSM303DLHC_INTERNAL_H #ifndef LSM303DLHC_INTERNAL_H
#define __LSM303DLHC_INTERNAL_H #define LSM303DLHC_INTERNAL_H
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {
@ -174,5 +174,5 @@ extern "C" {
} }
#endif #endif
#endif /* __LSM303DLHC_INTERNAL_H */ #endif /* LSM303DLHC_INTERNAL_H */
/** @} */ /** @} */

View File

@ -18,8 +18,8 @@
* *
*/ */
#ifndef __MAG3110_REG_H__ #ifndef MAG3110_REG_H
#define __MAG3110_REG_H__ #define MAG3110_REG_H
#ifdef __cplusplus #ifdef __cplusplus
extern "C" extern "C"

View File

@ -18,8 +18,8 @@
* *
*/ */
#ifndef __MMA8652_REG_H__ #ifndef MMA8652_REG_H
#define __MMA8652_REG_H__ #define MMA8652_REG_H
#ifdef __cplusplus #ifdef __cplusplus
extern "C" extern "C"

View File

@ -18,8 +18,8 @@
* *
*/ */
#ifndef __MPL3115A2_REG_H__ #ifndef MPL3115A2_REG_H
#define __MPL3115A2_REG_H__ #define MPL3115A2_REG_H
#ifdef __cplusplus #ifdef __cplusplus
extern "C" extern "C"

View File

@ -19,8 +19,8 @@
* @} * @}
*/ */
#ifndef __NRF24L01P_SETTINGS_H #ifndef NRF24L01P_SETTINGS_H
#define __NRF24L01P_SETTINGS_H #define NRF24L01P_SETTINGS_H
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {
@ -127,4 +127,4 @@ extern "C" {
} }
#endif #endif
#endif /* __NRF24L01P_SETTINGS_H */ #endif /* NRF24L01P_SETTINGS_H */