1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

Merge pull request #7095 from kaspar030/add_headerguard_check_script

dist: tools: add headerguard check script
This commit is contained in:
Martine Lenders 2017-05-24 18:08:29 +02:00 committed by GitHub
commit d4693648ba
382 changed files with 1125 additions and 981 deletions

View File

@ -22,8 +22,8 @@
*/
#ifndef BOARDCONF_H
#define BOARDCONF_H
#ifndef BOARD_H
#define BOARD_H
#include "bitarithm.h"
#include "msba2_common.h"
@ -60,4 +60,4 @@ void init_clks1(void);
#endif
/** @} */
#endif /* BOARDCONF_H */
#endif /* BOARD_H */

View File

@ -73,5 +73,5 @@ void board_init(void);
}
#endif
#endif /** BOARD_H */
#endif /* BOARD_H */
/** @} */

View File

@ -18,8 +18,8 @@
* @author unknown
*/
#ifndef CHRONOS_BOARD_H
#define CHRONOS_BOARD_H
#ifndef BOARD_H
#define BOARD_H
#include <stdint.h>
@ -59,5 +59,5 @@ extern "C" {
}
#endif
#endif /* CHRONOS_BOARD_H */
#endif /* BOARD_H */
/** @} */

View File

@ -64,5 +64,5 @@ extern void board_init(void);
}
#endif
#endif /** BOARD_H */
#endif /* BOARD_H */
/** @} */

View File

@ -64,5 +64,5 @@ void board_init(void);
}
#endif
#endif /** BOARD_H */
#endif /* BOARD_H */
/** @} */

View File

@ -89,5 +89,5 @@ void board_init(void);
}
#endif
#endif /** BOARD_H */
#endif /* BOARD_H */
/** @} */

View File

@ -20,8 +20,8 @@
* @author Neil Jones <neil.jones@imgtec.com>
*/
#ifndef _BOARD_H_
#define _BOARD_H_
#ifndef BOARD_H
#define BOARD_H
#ifdef __cplusplus
extern "C" {
@ -42,5 +42,5 @@ void board_init(void);
}
#endif
#endif /* _BOARD_H_ */
#endif /* BOARD_H */
/** @} */

View File

@ -20,8 +20,8 @@
* @author Neil Jones <neil.jones@imgtec.com>
*/
#ifndef _PERIPH_CONF_H_
#define _PERIPH_CONF_H_
#ifndef PERIPH_CONF_H
#define PERIPH_CONF_H
#ifdef __cplusplus
extern "C" {
@ -55,5 +55,5 @@ extern "C" {
}
#endif
#endif /*_PERIPH_CONF_H_*/
#endif /* PERIPH_CONF_H */
/** @} */

View File

@ -6,8 +6,8 @@
* directory for more details.
*/
#ifndef SHT11BOARD_H
#define SHT11BOARD_H
#ifndef SHT11_BOARD_H
#define SHT11_BOARD_H
/**
* @ingroup msb_430h
@ -46,4 +46,4 @@ extern "C" {
#endif
/** @} */
#endif /* SHT11BOARD_H */
#endif /* SHT11_BOARD_H */

View File

@ -31,8 +31,8 @@
* @author Freie Universität Berlin, Computer Systems & Telematics, FeuerWhere project
*/
#ifndef MSB_BOARD_H
#define MSB_BOARD_H
#ifndef BOARD_H
#define BOARD_H
#include "board_common.h"
@ -64,4 +64,4 @@ extern "C" {
#endif
/** @} */
#endif /* MSB_BOARD_H */
#endif /* BOARD_H */

View File

@ -19,8 +19,8 @@
* @author Hauke Petersen <hauke.petersen@fu-berlin.de>
*/
#ifndef MSB_BOARD_H
#define MSB_BOARD_H
#ifndef BOARD_H
#define BOARD_H
#include "board_common.h"
@ -52,4 +52,4 @@ extern "C" {
#endif
/** @} */
#endif /* MSB_BOARD_H */
#endif /* BOARD_H */

View File

@ -6,8 +6,8 @@
* directory for more details.
*/
#ifndef SHT11BOARD_H
#define SHT11BOARD_H
#ifndef SHT11_BOARD_H
#define SHT11_BOARD_H
/**
* @ingroup lpc2387
@ -53,4 +53,4 @@ extern "C" {
#endif
/** @} */
#endif /* SHT11BOARD_H */
#endif /* SHT11_BOARD_H */

View File

@ -43,4 +43,4 @@ static inline void pllfeed(void)
#endif
/** @} */
#endif /* MSBA2_COMMON_H */
#endif /* MSBA2_COMMON_H */

View File

@ -22,4 +22,4 @@
void hard_reset_to_bootloader(void);
void hard_reset_to_user_code(void);
#endif /* CONTROL_2XXX_H */
#endif /* CONTROL_2XXX_H */

View File

@ -27,4 +27,4 @@ void change_baud(const char *baud_name);
*/
void signal_terminal(void);
#endif /* LPC2K_PGM_H */
#endif /* LPC2K_PGM_H */

View File

@ -34,4 +34,4 @@ void set_rts(int val);
void set_dtr(int val);
void change_baud(const char *baud_name);
#endif /* SERIAL_H */
#endif /* SERIAL_H */

View File

@ -19,8 +19,8 @@
* @author Hauke Petersen <hauke.petersen@fu-berlin.de>
*/
#ifndef MULLE_PERIPH_CONF_H
#define MULLE_PERIPH_CONF_H
#ifndef PERIPH_CONF_H
#define PERIPH_CONF_H
#include "periph_cpu.h"
@ -376,5 +376,5 @@ static const spi_conf_t spi_config[] = {
}
#endif
#endif /* MULLE_PERIPH_CONF_H */
#endif /* PERIPH_CONF_H */
/** @} */

View File

@ -72,5 +72,5 @@ void board_init(void);
}
#endif
#endif /** BOARD_H */
#endif /* BOARD_H */
/** @} */

View File

@ -78,5 +78,5 @@ void board_init(void);
}
#endif
#endif /** BOARD_H */
#endif /* BOARD_H */
/** @} */

View File

@ -98,4 +98,4 @@ static const spi_conf_t spi_config[] = {
}
#endif
#endif /* __PERIPH_CONF_H */
#endif /* PERIPH_CONF_H */

View File

@ -77,5 +77,5 @@ void board_init(void);
}
#endif
#endif /** BOARD_H */
#endif /* BOARD_H */
/** @} */

View File

@ -98,4 +98,4 @@ static const spi_conf_t spi_config[] = {
}
#endif
#endif /* __PERIPH_CONF_H */
#endif /* PERIPH_CONF_H */

View File

@ -63,5 +63,5 @@ void board_init(void);
}
#endif
#endif /** BOARD_H */
#endif /* BOARD_H */
/** @} */

View File

@ -18,8 +18,8 @@
* @author Alexandre Abadie <alexandre.abadie@inria.fr>
*/
#ifndef BOARD_H_
#define BOARD_H_
#ifndef BOARD_H
#define BOARD_H
#include "board_common.h"
@ -41,5 +41,5 @@ extern "C" {
}
#endif
#endif /* BOARD_H_ */
#endif /* BOARD_H */
/** @} */

View File

@ -16,8 +16,8 @@
* @author Alexandre Abadie <alexandre.abadie@inria.fr>
*/
#ifndef PERIPH_CONF_H_
#define PERIPH_CONF_H_
#ifndef PERIPH_CONF_H
#define PERIPH_CONF_H
#include "periph_cpu.h"
@ -244,5 +244,5 @@ static const spi_conf_t spi_config[] = {
}
#endif
#endif /* PERIPH_CONF_H_ */
#endif /* PERIPH_CONF_H */
/** @} */

View File

@ -20,8 +20,8 @@
* @author Vincent Dupont <vincent@otakeys.com>
*/
#ifndef BOARD_H_
#define BOARD_H_
#ifndef BOARD_H
#define BOARD_H
#include "board_common.h"
@ -33,5 +33,5 @@ extern "C" {
}
#endif
#endif /* BOARD_H_ */
#endif /* BOARD_H */
/** @} */

View File

@ -17,8 +17,8 @@
* @author Vincent Dupont <vincent@otakeys.com>
*/
#ifndef PERIPH_CONF_H_
#define PERIPH_CONF_H_
#ifndef PERIPH_CONF_H
#define PERIPH_CONF_H
#include "periph_cpu.h"
@ -200,5 +200,5 @@ static const spi_conf_t spi_config[] = {
}
#endif
#endif /* PERIPH_CONF_H_ */
#endif /* PERIPH_CONF_H */
/** @} */

View File

@ -72,5 +72,5 @@ void board_init(void);
}
#endif
#endif /** BOARD_H */
#endif /* BOARD_H */
/** @} */

View File

@ -25,8 +25,8 @@
* @author Neil Jones <Neil.Jones@imgtec.com>
*/
#ifndef _BOARD_H_
#define _BOARD_H_
#ifndef BOARD_H
#define BOARD_H
#include "periph_conf.h"
@ -56,5 +56,5 @@ void board_init(void);
}
#endif
#endif /* _BOARD_H_ */
#endif /* BOARD_H */
/** @} */

View File

@ -19,8 +19,8 @@
*
* @author Neil Jones <Neil.Jones@imgtec.com>
*/
#ifndef _PERIPH_CONF_H_
#define _PERIPH_CONF_H_
#ifndef PERIPH_CONF_H
#define PERIPH_CONF_H
#include "periph_cpu.h"
@ -60,5 +60,5 @@ extern "C" {
}
#endif
#endif
#endif /* PERIPH_CONF_H */
/** @} */

View File

@ -18,8 +18,8 @@
* @author René Kijewski <rene.kijewski@fu-berlin.de>
*/
#ifndef QEMU_I386_BOARD_H
#define QEMU_I386_BOARD_H
#ifndef BOARD_H
#define BOARD_H
#ifdef __cplusplus
extern "C" {
@ -37,7 +37,7 @@ extern "C" {
}
#endif
#endif /* QEMU_I386_BOARD_H */
#endif /* BOARD_H */
/**
* @}

View File

@ -16,8 +16,8 @@
* @author René Kijewski <rene.kijewski@fu-berlin.de>
*/
#ifndef QEMU_I386_CPU_CONF_H
#define QEMU_I386_CPU_CONF_H
#ifndef CPU_CONF_H
#define CPU_CONF_H
#ifdef __cplusplus
extern "C" {
@ -35,6 +35,6 @@ extern "C" {
}
#endif
#endif /* QEMU_I386_CPU_CONF_H */
#endif /* CPU_CONF_H */
/** @} */

View File

@ -55,5 +55,5 @@ void board_init(void);
}
#endif
#endif /** BOARD_H */
#endif /* BOARD_H */
/** @} */

View File

@ -25,8 +25,8 @@
* @author Hauke Petersen <hauke.petersen@fu-berlin.de>
*/
#ifndef TELOSB_BOARD_H
#define TELOSB_BOARD_H
#ifndef BOARD_H
#define BOARD_H
#include "cpu.h"
@ -116,4 +116,4 @@ extern "C" {
#endif
/** @} */
#endif /* TELOSB_BOARD_H */
#endif /* BOARD_H */

View File

@ -25,8 +25,8 @@
* @author Hauke Petersen <hauke.petersen@fu-berlin.de>
*/
#ifndef WSN_BOARD_H
#define WSN_BOARD_H
#ifndef BOARD_H
#define BOARD_H
#include "board_common.h"
@ -60,4 +60,4 @@ extern "C" {
#include <msp430x16x.h>
/** @} */
#endif /* WSN_BOARD_H */
#endif /* BOARD_H */

View File

@ -25,8 +25,8 @@
* @author Hauke Petersen <hauke.petersen@fu-berlin.de>
*/
#ifndef WSN_BOARD_H
#define WSN_BOARD_H
#ifndef BOARD_H
#define BOARD_H
#include "board_common.h"
@ -60,4 +60,4 @@ extern "C" {
#include <msp430x16x.h>
/** @} */
#endif /* WSN_BOARD_H */
#endif /* BOARD_H */

View File

@ -234,5 +234,5 @@ typedef struct multiboot_mod_list multiboot_module_t;
}
#endif
#endif /** ! MULTIBOOT_H */
#endif /* MULTIBOOT_H */
/** @} */

View File

@ -7,8 +7,8 @@
* directory for more details.
*/
#ifndef Z1_BOARD_H
#define Z1_BOARD_H
#ifndef BOARD_H
#define BOARD_H
/**
* @defgroup boards_z1 Zolertia Z1
@ -123,4 +123,4 @@ extern "C" {
#endif
/** @} */
#endif /* Z1_BOARD_H */
#endif /* BOARD_H */

View File

@ -22,8 +22,8 @@
* @author Hauke Petersen <hauke.petersen@fu-berlin.de>
*/
#ifndef IRQ_ARCH_H
#define IRQ_ARCH_H
#ifndef ARCH_IRQ_ARCH_H
#define ARCH_IRQ_ARCH_H
#ifdef __cplusplus
extern "C" {
@ -77,5 +77,5 @@ int irq_arch_in(void);
}
#endif
#endif /* IRQ_ARCH_H */
#endif /* ARCH_IRQ_ARCH_H */
/** @} */

View File

@ -16,8 +16,8 @@
* @author Oliver Hahm <oliver.hahm@inria.fr>
*/
#ifndef PANIC_ARCH_H
#define PANIC_ARCH_H
#ifndef ARCH_PANIC_ARCH_H
#define ARCH_PANIC_ARCH_H
#ifdef __cplusplus
extern "C" {
@ -35,5 +35,5 @@ void panic_arch(void);
}
#endif
#endif /* REBOOT_ARCH_H */
#endif /* ARCH_PANIC_ARCH_H */
/** @} */

View File

@ -16,8 +16,8 @@
* @author Hauke Petersen <hauke.petersen@fu-berlin.de>
*/
#ifndef THREAD_ARCH_H
#define THREAD_ARCH_H
#ifndef ARCH_THREAD_ARCH_H
#define ARCH_THREAD_ARCH_H
#include "kernel_defines.h"
@ -92,5 +92,5 @@ void thread_arch_yield(void);
}
#endif
#endif /* THREAD_ARCH_H */
#endif /* ARCH_THREAD_ARCH_H */
/** @} */

View File

@ -20,8 +20,8 @@
* @author Raphael Hiesgen <raphael.hiesgen@haw-hamburg.de>
*/
#ifndef NATIVE_SCHEDULER_H
#define NATIVE_SCHEDULER_H
#ifndef NATIVE_SCHED_H
#define NATIVE_SCHED_H
#ifdef __cplusplus
extern "C" {
@ -54,5 +54,5 @@ inline int sched_yield(void)
}
#endif
#endif /* NATIVE_SCHEDULER_H */
#endif /* NATIVE_SCHED_H */
/** @} */

View File

@ -16,8 +16,8 @@
* @author Kaspar Schleiser <kaspar@schleiser.de>
*/
#ifndef QUEUE_H
#define QUEUE_H
#ifndef PRIORITY_QUEUE_H
#define PRIORITY_QUEUE_H
#include <stddef.h>
#include <stdint.h>
@ -132,4 +132,4 @@ void priority_queue_print_node(priority_queue_t *root);
#endif
/** @} */
#endif /* QUEUE_H */
#endif /* PRIORITY_QUEUE_H */

View File

@ -18,8 +18,8 @@
*
*/
#ifndef RMUTEX_H_
#define RMUTEX_H_
#ifndef RMUTEX_H
#define RMUTEX_H
#include <stdatomic.h>
@ -106,5 +106,5 @@ void rmutex_unlock(rmutex_t *rmutex);
}
#endif
#endif /* RMUTEX_H_ */
#endif /* RMUTEX_H */
/** @} */

View File

@ -77,8 +77,8 @@
* @author Kaspar Schleiser <kaspar@schleiser.de>
*/
#ifndef SCHEDULER_H
#define SCHEDULER_H
#ifndef SCHED_H
#define SCHED_H
#include <stddef.h>
#include "kernel_defines.h"
@ -202,5 +202,5 @@ void sched_register_cb(void (*callback)(uint32_t, uint32_t));
}
#endif
#endif /* SCHEDULER_H */
#endif /* SCHED_H */
/** @} */

View File

@ -47,8 +47,8 @@
*
* @author Kaspar Schleiser <kaspar@schleiser.de>
*/
#ifndef THREAD_FLAG_H
#define THREAD_FLAG_H
#ifndef THREAD_FLAGS_H
#define THREAD_FLAGS_H
#include "kernel_types.h"
#include "sched.h" /* for thread_t typedef */
@ -152,4 +152,4 @@ int thread_flags_wake(thread_t *thread);
#endif
/** @} */
#endif /* THREAD_FLAG_H */
#endif /* THREAD_FLAGS_H */

View File

@ -15,8 +15,8 @@
*
* @author Martine Lenders <mlenders@inf.fu-berlin.de>
*/
#ifndef RIOT_INTTYPES_H
#define RIOT_INTTYPES_H
#ifndef INTTYPES_H
#define INTTYPES_H
#include_next <inttypes.h>
@ -33,5 +33,5 @@ extern "C" {
}
#endif
#endif /* RIOT_INTTYPES_H */
#endif /* INTTYPES_H */
/** @} */

View File

@ -524,7 +524,7 @@ extern "C" {
}
#endif
#endif /* TIME_H */
#endif /* TIME_H */
/**
\endcond

View File

@ -24,8 +24,8 @@
* @author Kaspar Schleiser <kaspar@schleiser.de>
*/
#ifndef ATMEGA_COMMON_H
#define ATMEGA_COMMON_H
#ifndef CPU_H
#define CPU_H
#include <stdio.h>
#include <stdint.h>
@ -83,5 +83,5 @@ static inline void cpu_print_last_instruction(void)
}
#endif
#endif /* ATMEGA_COMMON_H */
#endif /* CPU_H */
/** @} */

View File

@ -12,8 +12,8 @@
* @author Joakim Nohlgård <joakim.nohlgard@eistec.se>
*/
#ifndef SYS_STAT_H_
#define SYS_STAT_H_
#ifndef SYS_STAT_H
#define SYS_STAT_H
#include <time.h> /* for struct timespec */
#include <sys/types.h> /* for fsblkcnt_t, fsfilcnt_t */
@ -115,6 +115,6 @@ int utimensat(int, const char *, const struct timespec [2], int);
}
#endif
#endif /* SYS_STAT_H_ */
#endif /* SYS_STAT_H */
/** @} */

View File

@ -6,8 +6,8 @@
* directory for more details.
*/
#ifndef ATMEGA_TIME_H
#define ATMEGA_TIME_H
#ifndef SYS_TIME_H
#define SYS_TIME_H
#include <sys/types.h>
#include <time.h>
@ -29,4 +29,4 @@ struct timeval {
}
#endif
#endif /* ATMEGA_TIME_H */
#endif /* SYS_TIME_H */

View File

@ -7,8 +7,8 @@
* directory for more details.
*/
#ifndef SYS_TYPES_H_
#define SYS_TYPES_H_
#ifndef SYS_TYPES_H
#define SYS_TYPES_H
#include <stdint.h>
#include <stddef.h>
@ -44,4 +44,4 @@ typedef uint32_t useconds_t; /**< Used for time in microseconds */
}
#endif
#endif /* SYS_TYPES_H_ */
#endif /* SYS_TYPES_H */

View File

@ -16,8 +16,8 @@
* @author Ian Martin <ian@locicontrols.com>
*/
#ifndef _CC2538_
#define _CC2538_
#ifndef CC2538_H
#define CC2538_H
#ifdef __cplusplus
extern "C" {
@ -815,6 +815,6 @@ typedef volatile uint32_t cc2538_reg_t; /**< Least-significant 32 bits of the IE
}
#endif
#endif /* _CC2538_ */
#endif /* CC2538_H */
/*@}*/

View File

@ -17,8 +17,8 @@
* @author Ian Martin <ian@locicontrols.com>
*/
#ifndef GPTIMER_H
#define GPTIMER_H
#ifndef CC2538_GPTIMER_H
#define CC2538_GPTIMER_H
#include <stdint.h>
@ -180,6 +180,6 @@ void isr_timer3_chan1(void); /**< RIOT Timer 3 Channel 1 Interrup
} /* end extern "C" */
#endif
#endif /* GPTIMER_H */
#endif /* CC2538_GPTIMER_H */
/* @} */

View File

@ -16,8 +16,8 @@
* @author Leon M. George <leon@georgemail.eu>
*/
#ifndef CC26x0_H
#define CC26x0_H
#ifndef CC26X0_H
#define CC26X0_H
#include <stdint.h>
@ -112,6 +112,6 @@ typedef enum IRQn
}
#endif
#endif /* CC26x0_H */
#endif /* CC26X0_H */
/*@}*/

View File

@ -13,8 +13,8 @@
* @brief CC26x0 AUX register definitions
*/
#ifndef CC26x0_AUX_H
#define CC26x0_AUX_H
#ifndef CC26X0_AUX_H
#define CC26X0_AUX_H
#include <stdbool.h>
@ -253,6 +253,6 @@ typedef struct {
} /* end extern "C" */
#endif
#endif /* CC26x0_AUX_H */
#endif /* CC26X0_AUX_H */
/** @}*/

View File

@ -13,8 +13,8 @@
* @brief CC26x0 CCFG register definitions
*/
#ifndef CC26x0_CCFG_H
#define CC26x0_CCFG_H
#ifndef CC26X0_CCFG_H
#define CC26X0_CCFG_H
#include <cc26x0.h>
@ -65,6 +65,6 @@ typedef struct {
} /* end extern "C" */
#endif
#endif /* CC26x0_CCFG_H */
#endif /* CC26X0_CCFG_H */
/*@}*/

View File

@ -13,8 +13,8 @@
* @brief CC26x0 FCFG register definitions
*/
#ifndef CC26x0_FCFG_H
#define CC26x0_FCFG_H
#ifndef CC26X0_FCFG_H
#define CC26X0_FCFG_H
#include <cc26x0.h>
@ -134,6 +134,6 @@ typedef struct {
} /* end extern "C" */
#endif
#endif /* CC26x0_FCFG_H */
#endif /* CC26X0_FCFG_H */
/*@}*/

View File

@ -16,8 +16,8 @@
*
*/
#ifndef CC26x0_GPIO_H
#define CC26x0_GPIO_H
#ifndef CC26X0_GPIO_H
#define CC26X0_GPIO_H
#include "cc26x0.h"
@ -58,6 +58,6 @@ typedef struct {
} /* end extern "C" */
#endif
#endif /* CC26x0_GPIO_H */
#endif /* CC26X0_GPIO_H */
/** @} */

View File

@ -16,8 +16,8 @@
* @author Leon George <leon@georgemail.eu>
*/
#ifndef CC26x0_GPT_H
#define CC26x0_GPT_H
#ifndef CC26X0_GPT_H
#define CC26X0_GPT_H
#include "cc26x0.h"
@ -207,5 +207,5 @@ typedef struct {
}
#endif
#endif /* CC26x0_GPT_H */
#endif /* CC26X0_GPT_H */
/** @} */

View File

@ -16,8 +16,8 @@
* @author Leon George <leon@georgemail.eu>
*/
#ifndef CC26x0_I2C_H
#define CC26x0_I2C_H
#ifndef CC26X0_I2C_H
#define CC26X0_I2C_H
#include "cc26x0.h"
@ -67,6 +67,6 @@ typedef struct {
}
#endif
#endif /* CC26x0_I2C_H */
#endif /* CC26X0_I2C_H */
/*@}*/

View File

@ -16,8 +16,8 @@
* @author Leon George <leon@georgemail.eu>
*/
#ifndef CC26x0_IOC_H
#define CC26x0_IOC_H
#ifndef CC26X0_IOC_H
#define CC26X0_IOC_H
#include "cc26x0.h"
@ -159,6 +159,6 @@ typedef struct {
}
#endif
#endif /* CC26x0_IOC_H */
#endif /* CC26X0_IOC_H */
/*@}*/

View File

@ -14,8 +14,8 @@
* @brief CC26x0 PRCM register definitions
*/
#ifndef CC26x0_PRCM_H
#define CC26x0_PRCM_H
#ifndef CC26X0_PRCM_H
#define CC26X0_PRCM_H
#include <cc26x0.h>
@ -317,6 +317,6 @@ typedef struct {
} /* end extern "C" */
#endif
#endif /* CC26x0_PRCM_H */
#endif /* CC26X0_PRCM_H */
/*@}*/

View File

@ -15,8 +15,8 @@
*
*/
#ifndef CC26x0_UART_H
#define CC26x0_UART_H
#ifndef CC26X0_UART_H
#define CC26X0_UART_H
#include "cc26x0.h"
@ -129,5 +129,5 @@ typedef struct {
} /* end extern "C" */
#endif
#endif /* CC26x8_UART_H */
#endif /* CC26X0_UART_H */
/** @} */

View File

@ -14,8 +14,8 @@
* @brief CC26x0 VIMS register definitions
*/
#ifndef CC26x0_VIMS_H
#define CC26x0_VIMS_H
#ifndef CC26X0_VIMS_H
#define CC26X0_VIMS_H
#ifdef __cplusplus
extern "C" {
@ -232,6 +232,6 @@ typedef struct {
}
#endif
#endif /* CC26x0_VIMS_H */
#endif /* CC26X0_VIMS_H */
/*@}*/

View File

@ -14,8 +14,8 @@
* @brief CC26x0 WDT register definitions
*/
#ifndef CC26x0_WDT_H
#define CC26x0_WDT_H
#ifndef CC26X0_WDT_H
#define CC26X0_WDT_H
#include <cc26x0.h>
@ -51,6 +51,6 @@ typedef struct {
} /* end extern "C" */
#endif
#endif /* CC26x0_WDT_H */
#endif /* CC26X0_WDT_H */
/*@}*/

View File

@ -49,4 +49,4 @@ extern uint8_t adc12_data_ready;
}
#endif
#endif
#endif /* CC430_ADC_H */

View File

@ -48,4 +48,4 @@ void rtc_remove_alarm(void);
}
#endif
#endif
#endif /* CC430_RTC_H */

View File

@ -16,8 +16,8 @@
* @author Hauke Petersen <hauke.petersen@fu-berlin.de>
*/
#ifndef CPU_PERIPH_H
#define CPU_PERIPH_H
#ifndef PERIPH_CPU_H
#define PERIPH_CPU_H
#include "cpu.h"
#include "cc430_regs.h"
@ -32,5 +32,5 @@ extern "C" {
}
#endif
#endif /* CPU_PERIPH_H */
#endif /* PERIPH_CPU_H */
/** @} */

View File

@ -16,8 +16,8 @@
* @author Hauke Petersen <hauke.petersen@fu-berlin.de>
*/
#ifndef VECTORS_DEFAULT_H
#define VECTORS_DEFAULT_H
#ifndef VECTORS_CORTEXM_H
#define VECTORS_CORTEXM_H
#ifdef __cplusplus
extern "C" {
@ -122,5 +122,5 @@ void dummy_handler_default(void);
}
#endif
#endif /* VECTORS_DEFAULT_H */
#endif /* VECTORS_CORTEXM_H */
/** @} */

View File

@ -46,5 +46,5 @@ extern "C" {
}
#endif
#endif /* __CPU_CONF_H */
#endif /* CPU_CONF_H */
/** @} */

View File

@ -16,8 +16,8 @@
* @author Hauke Petersen <hauke.petersen@fu-berlin.de>
*/
#ifndef CPU_PERIPH_H
#define CPU_PERIPH_H
#ifndef PERIPH_CPU_H
#define PERIPH_CPU_H
#include "cpu.h"
@ -137,5 +137,5 @@ typedef struct {
}
#endif
#endif /* CPU_PERIPH_H */
#endif /* PERIPH_CPU_H */
/** @} */

View File

@ -97,8 +97,8 @@
* @author Johann Fischer <j.fischer@phytec.de>
*/
#ifndef MCG_CPU_H
#define MCG_CPU_H
#ifndef MCG_H
#define MCG_H
#include "periph_conf.h"
@ -133,4 +133,4 @@ int kinetis_mcg_set_mode(kinetis_mcg_mode_t mode);
#endif /* KINETIS_CPU_USE_MCG */
/** @} */
#endif /* MCG_CPU_H */
#endif /* MCG_H */

View File

@ -7,8 +7,8 @@
*/
#ifndef CPUCONF_H
#define CPUCONF_H
#ifndef CPU_CONF_H
#define CPU_CONF_H
#ifdef __cplusplus
extern "C" {
@ -68,4 +68,4 @@ extern "C" {
#endif
/** @} */
#endif /* CPUCONF_H */
#endif /* CPU_CONF_H */

View File

@ -18,8 +18,8 @@
* @author Neil Jones <neil.jones@imgtec.com>
*/
#ifndef CPU_H_
#define CPU_H_
#ifndef CPU_H
#define CPU_H
#ifdef __cplusplus
extern "C" {
@ -44,5 +44,5 @@ static inline void cpu_print_last_instruction(void)
}
#endif
#endif
#endif /* CPU_H */
/** @} */

View File

@ -6,8 +6,8 @@
* directory for more details.
*/
#ifndef _CPU_CONF_H_
#define _CPU_CONF_H_
#ifndef CPU_CONF_H
#define CPU_CONF_H
/**
* @defgroup cpu_mips32r2_commom MIPS32R2 Common
@ -64,5 +64,5 @@ extern "C" {
}
#endif
#endif
#endif /* CPU_CONF_H */
/** @} */

View File

@ -17,8 +17,8 @@
* @author Neil Jones <neil.jones@imgtec.com>
*/
#ifndef EIC_IRQ_H_
#define EIC_IRQ_H_
#ifndef EIC_IRQ_H
#define EIC_IRQ_H
#ifdef __cplusplus
extern "C" {
@ -65,5 +65,5 @@ void eic_irq_ack(int irq_num);
}
#endif
#endif
#endif /* EIC_IRQ_H */
/** @} */

View File

@ -20,8 +20,8 @@
* @author Neil Jones <neil.jones@imgtec.com>
*/
#ifndef _CPU_H_
#define _CPU_H_
#ifndef CPU_H
#define CPU_H
#ifdef __cplusplus
extern "C" {
@ -51,5 +51,5 @@ static inline void cpu_print_last_instruction(void)
}
#endif
#endif
#endif /* CPU_H */
/** @} */

View File

@ -19,8 +19,8 @@
* @author Neil Jones <neil.jones@imgtec.com>
*/
#ifndef _CPU_CONF_H_
#define _CPU_CONF_H_
#ifndef CPU_CONF_H
#define CPU_CONF_H
#ifdef __cplusplus
extern "C" {
@ -64,5 +64,5 @@ extern "C" {
}
#endif
#endif
#endif /* CPU_CONF_H */
/** @} */

View File

@ -8,6 +8,9 @@
*
*/
#ifndef PERIPH_CPU_H
#define PERIPH_CPU_H
#include "periph_cpu_common.h"
#ifdef __cplusplus
@ -17,3 +20,5 @@ extern "C" {
#ifdef __cplusplus
}
#endif
#endif /* PERIPH_CPU_H */

View File

@ -19,8 +19,8 @@
* @author Neil Jones <neil.jones@imgtec.com>
*/
#ifndef CPU_H_
#define CPU_H_
#ifndef CPU_H
#define CPU_H
#ifdef __cplusplus
extern "C" {
@ -50,5 +50,5 @@ static inline void cpu_print_last_instruction(void)
}
#endif
#endif
#endif /* CPU_H */
/** @} */

View File

@ -19,8 +19,8 @@
* @author Neil Jones <neil.jones@imgtec.com>
*/
#ifndef _CPU_CONF_H_
#define _CPU_CONF_H_
#ifndef CPU_CONF_H
#define CPU_CONF_H
#ifdef __cplusplus
extern "C" {
@ -65,5 +65,5 @@ extern "C" {
}
#endif
#endif
#endif /* CPU_CONF_H */
/** @} */

View File

@ -8,6 +8,9 @@
*
*/
#ifndef PERIPH_CPU_H
#define PERIPH_CPU_H
#include "periph_cpu_common.h"
#ifdef __cplusplus
@ -17,3 +20,5 @@ extern "C" {
#ifdef __cplusplus
}
#endif
#endif /* PERIPH_CPU_H */

View File

@ -6,8 +6,8 @@
* directory for more details.
*/
#ifndef CPUCONF_H
#define CPUCONF_H
#ifndef CPU_CONF_H
#define CPU_CONF_H
#ifdef __cplusplus
extern "C" {
@ -47,4 +47,4 @@ extern "C" {
}
#endif
#endif /* CPUCONF_H */
#endif /* CPU_CONF_H */

View File

@ -29,8 +29,8 @@
/* This file was imported into RIOT from newlib 2.3.0 */
#ifndef STDATOMIC_H_
#define STDATOMIC_H_
#ifndef STDATOMIC_H
#define STDATOMIC_H
#include <sys/cdefs.h>
#include <sys/_types.h>
@ -423,4 +423,4 @@ atomic_flag_clear(volatile atomic_flag *__object)
}
#endif
#endif /* !_STDATOMIC_H_ */
#endif /* STDATOMIC_H */

View File

@ -17,8 +17,8 @@
* @author Joakim Nohlgård <joakim.nohlgard@eistec.se
*/
#ifndef RIOT_MSP430_STDIO_H
#define RIOT_MSP430_STDIO_H
#ifndef STDIO_H
#define STDIO_H
/*
* The MSP430 toolchain does not provide getchar in stdio.h.
@ -41,4 +41,4 @@ int getchar(void);
}
#endif
#endif /* RIOT_MSP430_STDIO_H */
#endif /* STDIO_H */

View File

@ -17,8 +17,8 @@
* @author Joakim Nohlgård <joakim.nohlgard@eistec.se
*/
#ifndef RIOT_MSP430_STDLIB_H
#define RIOT_MSP430_STDLIB_H
#ifndef STDLIB_H
#define STDLIB_H
/*
* The MSP430 toolchain does not provide malloc, free, calloc etc. in stdlib.h.
@ -37,4 +37,4 @@ extern "C" {
}
#endif
#endif /* RIOT_MSP430_STDLIB_H */
#endif /* STDLIB_H */

View File

@ -39,8 +39,8 @@
/* This file was imported into RIOT from newlib 2.3.0 */
#ifndef _SYS_CDEFS_H_
#define _SYS_CDEFS_H_
#ifndef SYS_CDEFS_H
#define SYS_CDEFS_H
#include <sys/features.h>
#include <stddef.h>
@ -708,4 +708,4 @@ extern "C" {
}
#endif
#endif /* !_SYS_CDEFS_H_ */
#endif /* SYS_CDEFS_H */

View File

@ -20,8 +20,8 @@
/* This file was imported into RIOT from newlib 2.3.0 */
#ifndef _SYS_FEATURES_H
#define _SYS_FEATURES_H
#ifndef SYS_FEATURES_H
#define SYS_FEATURES_H
#ifdef __cplusplus
extern "C" {
@ -511,4 +511,4 @@ extern "C" {
#ifdef __cplusplus
}
#endif
#endif /* _SYS_FEATURES_H */
#endif /* SYS_FEATURES_H */

View File

@ -18,8 +18,8 @@
/* without the GCC pragma above #include_next will trigger a pedantic error */
#include_next <sys/stat.h>
#else
#ifndef SYS_STAT_H_
#define SYS_STAT_H_
#ifndef SYS_STAT_H
#define SYS_STAT_H
#include <time.h> /* for struct timespec */
#include <sys/types.h> /* for fsblkcnt_t, fsfilcnt_t */
@ -121,7 +121,7 @@ int utimensat(int, const char *, const struct timespec [2], int);
}
#endif
#endif /* SYS_STAT_H_ */
#endif /* SYS_STAT_H */
#endif /* CPU_NATIVE */

View File

@ -6,8 +6,8 @@
* directory for more details.
*/
#ifndef TIME_H
#define TIME_H
#ifndef SYS_TIME_H
#define SYS_TIME_H
#include "msp430_types.h"
@ -19,4 +19,4 @@ extern "C" {
}
#endif
#endif /* TIME_H */
#endif /* SYS_TIME_H */

View File

@ -17,8 +17,8 @@
* @author Martine Lenders <mlenders@inf.fu-berlin.de>
*/
#ifndef MSPGCC_TIME_H
#define MSPGCC_TIME_H
#ifndef TIME_H
#define TIME_H
#include <sys/types.h>
#include "msp430_types.h"
@ -47,5 +47,5 @@ struct tm {
}
#endif
#endif
#endif /* TIME_H */
/** @} */

View File

@ -16,8 +16,8 @@
* @author Hauke Petersen <hauke.petersen@fu-berlin.de>
*/
#ifndef CPU_PERIPH_H
#define CPU_PERIPH_H
#ifndef PERIPH_CPU_H
#define PERIPH_CPU_H
#include "cpu.h"
#include "msp430_regs.h"
@ -132,5 +132,5 @@ void gpio_periph_mode(gpio_t pin, bool enable);
}
#endif
#endif /* CPU_PERIPH_H */
#endif /* PERIPH_CPU_H */
/** @} */

View File

@ -71,5 +71,5 @@ void native_async_read_add_handler(int fd, void *arg, native_async_read_callback
}
#endif
#endif
#endif /* ASYNC_READ_H */
/** @} */

View File

@ -17,8 +17,8 @@
* @author Ludwig Knüpfer <ludwig.knuepfer@fu-berlin.de>
*/
#ifndef _CPU_H
#define _CPU_H
#ifndef CPU_H
#define CPU_H
#include <stdio.h>
@ -42,4 +42,4 @@ __attribute__((always_inline)) static inline void cpu_print_last_instruction(voi
#endif
/** @} */
#endif //_CPU_H
#endif /* CPU_H */

View File

@ -13,8 +13,8 @@
* @author Ludwig Knüpfer <ludwig.knuepfer@fu-berlin.de>
* @}
*/
#ifndef CPUCONF_H
#define CPUCONF_H
#ifndef CPU_CONF_H
#define CPU_CONF_H
#ifdef __cplusplus
extern "C" {
@ -64,4 +64,4 @@ extern "C" {
}
#endif
#endif /* CPUCONF_H */
#endif /* CPU_CONF_H */

View File

@ -16,8 +16,8 @@
* @author Ludwig Knüpfer <ludwig.knuepfer@fu-berlin.de>
*/
#ifndef _NATIVE_INTERNAL_H
#define _NATIVE_INTERNAL_H
#ifndef NATIVE_INTERNAL_H
#define NATIVE_INTERNAL_H
#include <signal.h>
#include <stdio.h>
@ -188,4 +188,4 @@ int unregister_interrupt(int sig);
#include "sched.h"
/** @} */
#endif /* _NATIVE_INTERNAL_H */
#endif /* NATIVE_INTERNAL_H */

View File

@ -16,8 +16,8 @@
*
* @author Martine Lenders <m.lenders@fu-berlin.de>
*/
#ifndef NETDEV_TAP_PARAMS_H_
#define NETDEV_TAP_PARAMS_H_
#ifndef NETDEV_TAP_PARAMS_H
#define NETDEV_TAP_PARAMS_H
#include "netdev_tap.h"
@ -46,5 +46,5 @@ extern netdev_tap_params_t netdev_tap_params[NETDEV_TAP_MAX];
}
#endif
#endif /* NETDEV_TAP_PARAMS_H_ */
#endif /* NETDEV_TAP_PARAMS_H */
/** @} */

View File

@ -37,5 +37,5 @@ void tty_uart_setup(uart_t uart, const char *name);
}
#endif
#endif
#endif /* TTY_UART_H */
/** @} */

View File

@ -63,7 +63,7 @@ extern void free (void *ptr);
}
#endif
#endif /* malloc.h */
#endif /* MALLOC_H */
/**
* @}

Some files were not shown because too many files have changed in this diff Show More