Skip to content

Commit

Permalink
board cpu core: header file include guards repaired
Browse files Browse the repository at this point in the history
  • Loading branch information
raj-manvar committed Feb 18, 2016
1 parent 8bf944c commit cff04c8
Show file tree
Hide file tree
Showing 110 changed files with 305 additions and 304 deletions.
4 changes: 2 additions & 2 deletions boards/airfy-beacon/include/board.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
* @author Christian Mehlis <mehlis@inf.fu-berlin.de>
*/

#ifndef BOARD_H_
#define BOARD_H_
#ifndef BOARD_H
#define BOARD_H

#include "cpu.h"

Expand Down
4 changes: 2 additions & 2 deletions boards/airfy-beacon/include/periph_conf.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
* @author Hauke Petersen <hauke.petersen@fu-berlin.de>
*/

#ifndef PERIPH_CONF_H_
#define PERIPH_CONF_H_
#ifndef PERIPH_CONF_H
#define PERIPH_CONF_H

#ifdef __cplusplus
extern "C" {
Expand Down
6 changes: 3 additions & 3 deletions boards/chronos/include/board.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
* @author unknwon
*/

#ifndef CHRONOS_BOARD_H_
#define CHRONOS_BOARD_H_
#ifndef CHRONOS_BOARD_H
#define CHRONOS_BOARD_H

#include <stdint.h>

Expand Down Expand Up @@ -52,5 +52,5 @@ extern "C" {
}
#endif

#endif /* _CHRONOS_BOARD_H_ */
#endif /* CHRONOS_BOARD_H */
/** @} */
6 changes: 3 additions & 3 deletions boards/msb-430/include/board.h
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down Expand Up @@ -73,4 +73,4 @@ extern "C" {
#include "board-conf.h"

/** @} */
#endif /* MSB_BOARD_H_ */
#endif /* MSB_BOARD_H */
6 changes: 3 additions & 3 deletions boards/msb-430h/include/board.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@
* @author Hauke Petersen <hauke.petersen@fu-berlin.de>
*/

#ifndef MSB_BOARD_H_
#define MSB_BOARD_H_
#ifndef MSB_BOARD_H
#define MSB_BOARD_H

#ifdef __cplusplus
extern "C" {
Expand Down Expand Up @@ -67,4 +67,4 @@ extern "C" {
#include "board-conf.h"

/** @} */
#endif /* MSB_BOARD_H_ */
#endif /* MSB_BOARD_H */
4 changes: 2 additions & 2 deletions boards/pca10000/include/periph_conf.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
* @author Hauke Petersen <hauke.petersen@fu-berlin.de>
*/

#ifndef PERIPH_CONF_H_
#define PERIPH_CONF_H_
#ifndef PERIPH_CONF_H
#define PERIPH_CONF_H

#ifdef __cplusplus
extern "C" {
Expand Down
4 changes: 2 additions & 2 deletions boards/samr21-xpro/include/board.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@
* @author Thomas Eichinger <thomas.eichinger@fu-berlin.de>
*/

#ifndef BOARD_H_
#define BOARD_H_
#ifndef BOARD_H
#define BOARD_H

#include "cpu.h"
#include "periph_conf.h"
Expand Down
4 changes: 2 additions & 2 deletions boards/samr21-xpro/include/periph_conf.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@
* @author Peter Kietzmann <peter.kietzmann@haw-hamburg.de>
*/

#ifndef PERIPH_CONF_H_
#define PERIPH_CONF_H_
#ifndef PERIPH_CONF_H
#define PERIPH_CONF_H

#include <stdint.h>

Expand Down
6 changes: 3 additions & 3 deletions boards/telosb/include/board.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@
* @author Hauke Petersen <hauke.petersen@fu-berlin.de>
*/

#ifndef TELOSB_BOARD_H_
#define TELOSB_BOARD_H_
#ifndef TELOSB_BOARD_H
#define TELOSB_BOARD_H

#ifdef __cplusplus
extern "C" {
Expand Down Expand Up @@ -81,4 +81,4 @@ extern "C" {
#include <stdint.h>

/** @} */
#endif /* TELOSB_BOARD_H_ */
#endif /* TELOSB_BOARD_H */
6 changes: 3 additions & 3 deletions boards/wsn430-v1_3b/include/board.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@
* @author Hauke Petersen <hauke.petersen@fu-berlin.de>
*/

#ifndef WSN_BOARD_H_
#define WSN_BOARD_H_
#ifndef WSN_BOARD_H
#define WSN_BOARD_H

#include "board-conf.h"

Expand Down Expand Up @@ -83,4 +83,4 @@ extern "C" {
#include <msp430x16x.h>

/** @} */
#endif /* WSN_BOARD_H_ */
#endif /* WSN_BOARD_H */
6 changes: 3 additions & 3 deletions boards/wsn430-v1_4/include/board.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@
* @author Hauke Petersen <hauke.petersen@fu-berlin.de>
*/

#ifndef WSN_BOARD_H_
#define WSN_BOARD_H_
#ifndef WSN_BOARD_H
#define WSN_BOARD_H

#include "board-conf.h"

Expand Down Expand Up @@ -83,4 +83,4 @@ extern "C" {
#include <msp430x16x.h>

/** @} */
#endif /* WSN_BOARD_H_ */
#endif /* WSN_BOARD_H */
4 changes: 2 additions & 2 deletions boards/yunjia-nrf51822/include/board.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
* @author Hauke Petersen <hauke.petersen@fu-berlin.de>
*/

#ifndef BOARD_H_
#define BOARD_H_
#ifndef BOARD_H
#define BOARD_H

#include "cpu.h"

Expand Down
4 changes: 2 additions & 2 deletions boards/yunjia-nrf51822/include/periph_conf.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
* @author Hauke Petersen <hauke.petersen@fu-berlin.de>
*/

#ifndef PERIPH_CONF_H_
#define PERIPH_CONF_H_
#ifndef PERIPH_CONF_H
#define PERIPH_CONF_H

#ifdef __cplusplus
extern "C" {
Expand Down
6 changes: 3 additions & 3 deletions boards/z1/include/board.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -100,4 +100,4 @@ extern "C" {
#endif

/** @} */
#endif /* Z1_BOARD_H_ */
#endif /* Z1_BOARD_H */
6 changes: 3 additions & 3 deletions core/include/atomic.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
* @author Joakim Nohlgård <joakim.nohlgard@eistec.se>
*/

#ifndef ATOMIC_H_
#define ATOMIC_H_
#ifndef ATOMIC_H
#define ATOMIC_H

#ifdef __cplusplus
extern "C" {
Expand Down Expand Up @@ -146,5 +146,5 @@ static inline int atomic_set_to_zero(atomic_int_t *var)
}
#endif

#endif /* ATOMIC_H_ */
#endif /* ATOMIC_H */
/** @} */
6 changes: 3 additions & 3 deletions core/include/attributes.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
* @author René Kijewski <rene.kijewski@fu-berlin.de>
*/

#ifndef ATTRIBUTES_H_
#define ATTRIBUTES_H_
#ifndef ATTRIBUTES_H
#define ATTRIBUTES_H

#include <stddef.h>

Expand Down Expand Up @@ -86,5 +86,5 @@
}
#endif

#endif /* ATTRIBUTES_H_ */
#endif /* ATTRIBUTES_H */
/** @} */
6 changes: 3 additions & 3 deletions core/include/bitarithm.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
* @author Martine Lenders <mlenders@inf.fu-berlin.de>
*/

#ifndef BITARITHM_H_
#define BITARITHM_H_
#ifndef BITARITHM_H
#define BITARITHM_H

#ifdef __cplusplus
extern "C" {
Expand Down Expand Up @@ -122,5 +122,5 @@ unsigned bitarithm_bits_set(unsigned v);
}
#endif

#endif /* BITARITHM_H_ */
#endif /* BITARITHM_H */
/** @} */
6 changes: 3 additions & 3 deletions core/include/byteorder.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
* @author René Kijewski <rene.kijewski@fu-berlin.de>
*/

#ifndef BYTEORDER_H_
#define BYTEORDER_H_
#ifndef BYTEORDER_H
#define BYTEORDER_H

#include <stdint.h>

Expand Down Expand Up @@ -422,5 +422,5 @@ static inline uint64_t NTOHLL(uint64_t v)
}
#endif

#endif /* BYTEORDER_H_ */
#endif /* BYTEORDER_H */
/** @} */
6 changes: 3 additions & 3 deletions core/include/irq.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 <stdbool.h>
#include "arch/irq_arch.h"
Expand Down Expand Up @@ -71,5 +71,5 @@ int inISR(void);
}
#endif

#endif /* IRQ_H_ */
#endif /* IRQ_H */
/** @} */
6 changes: 3 additions & 3 deletions core/include/kernel.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@
* @author Kaspar Schleiser <kaspar@schleiser.de>
*/

#ifndef KERNEL_H_
#define KERNEL_H_
#ifndef KERNEL_H
#define KERNEL_H

#include <stdbool.h>
#include <stdint.h>
Expand Down Expand Up @@ -68,5 +68,5 @@ extern config_t sysconfig;
}
#endif

#endif /* KERNEL_H_ */
#endif /* KERNEL_H */
/** @} */
6 changes: 3 additions & 3 deletions core/include/lifo.h
Original file line number Diff line number Diff line change
Expand Up @@ -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" {
Expand Down Expand Up @@ -70,5 +70,5 @@ int lifo_get(int *array);
}
#endif

#endif /* LIFO_H_ */
#endif /* LIFO_H */
/** @} */
6 changes: 3 additions & 3 deletions core/include/lpm.h
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down Expand Up @@ -68,5 +68,5 @@ enum lpm_mode lpm_get(void);
}
#endif

#endif /* __LPM_H_ */
#endif /* LPM_H */
/** @} */
6 changes: 3 additions & 3 deletions core/include/msg.h
Original file line number Diff line number Diff line change
Expand Up @@ -162,8 +162,8 @@
* @author Kévin Roussel <Kevin.Roussel@inria.fr>
*/

#ifndef MSG_H_
#define MSG_H_
#ifndef MSG_H
#define MSG_H

#include <stdint.h>
#include <stdbool.h>
Expand Down Expand Up @@ -379,5 +379,5 @@ int msg_init_queue(msg_t *array, int num);
}
#endif

#endif /* MSG_H_ */
#endif /* MSG_H */
/** @} */
6 changes: 3 additions & 3 deletions core/include/mutex.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
* @author Kaspar Schleiser <kaspar@schleiser.de>
*/

#ifndef MUTEX_H_
#define MUTEX_H_
#ifndef MUTEX_H
#define MUTEX_H

#include "priority_queue.h"
#include "atomic.h"
Expand Down Expand Up @@ -101,5 +101,5 @@ void mutex_unlock_and_sleep(mutex_t *mutex);
}
#endif

#endif /* MUTEX_H_ */
#endif /* MUTEX_H */
/** @} */
6 changes: 3 additions & 3 deletions core/include/tcb.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
* @author Kaspar Schleiser <kaspar@schleiser.de>
*/

#ifndef TCB_H_
#define TCB_H_
#ifndef TCB_H
#define TCB_H

#include <stdint.h>
#include "priority_queue.h"
Expand Down Expand Up @@ -87,5 +87,5 @@ typedef struct tcb_t {
}
#endif

#endif /* TCB_H_ */
#endif /* TCB_H */
/** @} */
Loading

0 comments on commit cff04c8

Please sign in to comment.