Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dist: tools: add headerguard check script #7095

Merged
merged 5 commits into from
May 24, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
6 changes: 3 additions & 3 deletions boards/avsextrem/include/board.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@
*/


#ifndef BOARDCONF_H
#define BOARDCONF_H
#ifndef BOARD_H
#define BOARD_H
#include "bitarithm.h"
#include "msba2_common.h"

Expand Down Expand Up @@ -60,4 +60,4 @@ void init_clks1(void);
#endif

/** @} */
#endif /* BOARDCONF_H */
#endif /* BOARD_H */
2 changes: 1 addition & 1 deletion boards/calliope-mini/include/board.h
Original file line number Diff line number Diff line change
Expand Up @@ -73,5 +73,5 @@ void board_init(void);
}
#endif

#endif /** BOARD_H */
#endif /* BOARD_H */
/** @} */
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 unknown
*/

#ifndef CHRONOS_BOARD_H
#define CHRONOS_BOARD_H
#ifndef BOARD_H
#define BOARD_H

#include <stdint.h>

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

#endif /* CHRONOS_BOARD_H */
#endif /* BOARD_H */
/** @} */
2 changes: 1 addition & 1 deletion boards/ek-lm4f120xl/include/board.h
Original file line number Diff line number Diff line change
Expand Up @@ -64,5 +64,5 @@ extern void board_init(void);
}
#endif

#endif /** BOARD_H */
#endif /* BOARD_H */
/** @} */
2 changes: 1 addition & 1 deletion boards/frdm-k64f/include/board.h
Original file line number Diff line number Diff line change
Expand Up @@ -64,5 +64,5 @@ void board_init(void);
}
#endif

#endif /** BOARD_H */
#endif /* BOARD_H */
/** @} */
2 changes: 1 addition & 1 deletion boards/microbit/include/board.h
Original file line number Diff line number Diff line change
Expand Up @@ -89,5 +89,5 @@ void board_init(void);
}
#endif

#endif /** BOARD_H */
#endif /* BOARD_H */
/** @} */
6 changes: 3 additions & 3 deletions boards/mips-malta/include/board.h
Original file line number Diff line number Diff line change
Expand Up @@ -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" {
Expand All @@ -42,5 +42,5 @@ void board_init(void);
}
#endif

#endif /* _BOARD_H_ */
#endif /* BOARD_H */
/** @} */
6 changes: 3 additions & 3 deletions boards/mips-malta/include/periph_conf.h
Original file line number Diff line number Diff line change
Expand Up @@ -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" {
Expand Down Expand Up @@ -55,5 +55,5 @@ extern "C" {
}
#endif

#endif /*_PERIPH_CONF_H_*/
#endif /* PERIPH_CONF_H */
/** @} */
6 changes: 3 additions & 3 deletions boards/msb-430-common/drivers/include/sht11-board.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -46,4 +46,4 @@ extern "C" {
#endif

/** @} */
#endif /* SHT11BOARD_H */
#endif /* SHT11_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 @@ -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"

Expand Down Expand Up @@ -64,4 +64,4 @@ extern "C" {
#endif

/** @} */
#endif /* MSB_BOARD_H */
#endif /* 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 BOARD_H
#define BOARD_H

#include "board_common.h"

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

/** @} */
#endif /* MSB_BOARD_H */
#endif /* BOARD_H */
6 changes: 3 additions & 3 deletions boards/msba2-common/drivers/include/sht11-board.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
* directory for more details.
*/

#ifndef SHT11BOARD_H
#define SHT11BOARD_H
#ifndef SHT11_BOARD_H
#define SHT11_BOARD_H

/**
* @ingroup lpc2387
Expand Down Expand Up @@ -53,4 +53,4 @@ extern "C" {
#endif

/** @} */
#endif /* SHT11BOARD_H */
#endif /* SHT11_BOARD_H */
2 changes: 1 addition & 1 deletion boards/msba2-common/include/msba2_common.h
Original file line number Diff line number Diff line change
Expand Up @@ -43,4 +43,4 @@ static inline void pllfeed(void)
#endif

/** @} */
#endif /* MSBA2_COMMON_H */
#endif /* MSBA2_COMMON_H */
2 changes: 1 addition & 1 deletion boards/msba2-common/tools/src/control_2xxx.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
2 changes: 1 addition & 1 deletion boards/msba2-common/tools/src/lpc2k_pgm.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,4 @@ void change_baud(const char *baud_name);
*/
void signal_terminal(void);

#endif /* LPC2K_PGM_H */
#endif /* LPC2K_PGM_H */
2 changes: 1 addition & 1 deletion boards/msba2-common/tools/src/serial.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
6 changes: 3 additions & 3 deletions boards/mulle/include/periph_conf.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 MULLE_PERIPH_CONF_H
#define MULLE_PERIPH_CONF_H
#ifndef PERIPH_CONF_H
#define PERIPH_CONF_H

#include "periph_cpu.h"

Expand Down Expand Up @@ -374,5 +374,5 @@ static const spi_conf_t spi_config[] = {
}
#endif

#endif /* MULLE_PERIPH_CONF_H */
#endif /* PERIPH_CONF_H */
/** @} */
2 changes: 1 addition & 1 deletion boards/nrf51dongle/include/board.h
Original file line number Diff line number Diff line change
Expand Up @@ -72,5 +72,5 @@ void board_init(void);
}
#endif

#endif /** BOARD_H */
#endif /* BOARD_H */
/** @} */
2 changes: 1 addition & 1 deletion boards/nrf52840dk/include/board.h
Original file line number Diff line number Diff line change
Expand Up @@ -78,5 +78,5 @@ void board_init(void);
}
#endif

#endif /** BOARD_H */
#endif /* BOARD_H */
/** @} */
2 changes: 1 addition & 1 deletion boards/nrf52840dk/include/periph_conf.h
Original file line number Diff line number Diff line change
Expand Up @@ -98,4 +98,4 @@ static const spi_conf_t spi_config[] = {
}
#endif

#endif /* __PERIPH_CONF_H */
#endif /* PERIPH_CONF_H */
2 changes: 1 addition & 1 deletion boards/nrf52dk/include/board.h
Original file line number Diff line number Diff line change
Expand Up @@ -77,5 +77,5 @@ void board_init(void);
}
#endif

#endif /** BOARD_H */
#endif /* BOARD_H */
/** @} */
2 changes: 1 addition & 1 deletion boards/nrf52dk/include/periph_conf.h
Original file line number Diff line number Diff line change
Expand Up @@ -98,4 +98,4 @@ static const spi_conf_t spi_config[] = {
}
#endif

#endif /* __PERIPH_CONF_H */
#endif /* PERIPH_CONF_H */
2 changes: 1 addition & 1 deletion boards/nrf6310/include/board.h
Original file line number Diff line number Diff line change
Expand Up @@ -63,5 +63,5 @@ void board_init(void);
}
#endif

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

Expand All @@ -41,5 +41,5 @@ extern "C" {
}
#endif

#endif /* BOARD_H_ */
#endif /* BOARD_H */
/** @} */
6 changes: 3 additions & 3 deletions boards/nucleo-f411/include/periph_conf.h
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down Expand Up @@ -244,5 +244,5 @@ static const spi_conf_t spi_config[] = {
}
#endif

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

Expand All @@ -33,5 +33,5 @@ extern "C" {
}
#endif

#endif /* BOARD_H_ */
#endif /* BOARD_H */
/** @} */
6 changes: 3 additions & 3 deletions boards/nucleo32-f031/include/periph_conf.h
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down Expand Up @@ -200,5 +200,5 @@ static const spi_conf_t spi_config[] = {
}
#endif

#endif /* PERIPH_CONF_H_ */
#endif /* PERIPH_CONF_H */
/** @} */
2 changes: 1 addition & 1 deletion boards/pca10000/include/board.h
Original file line number Diff line number Diff line change
Expand Up @@ -72,5 +72,5 @@ void board_init(void);
}
#endif

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

Expand Down Expand Up @@ -56,5 +56,5 @@ void board_init(void);
}
#endif

#endif /* _BOARD_H_ */
#endif /* BOARD_H */
/** @} */
6 changes: 3 additions & 3 deletions boards/pic32-wifire/include/periph_conf.h
Original file line number Diff line number Diff line change
Expand Up @@ -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"

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

#endif
#endif /* PERIPH_CONF_H */
/** @} */
6 changes: 3 additions & 3 deletions boards/qemu-i386/include/board.h
Original file line number Diff line number Diff line change
Expand Up @@ -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" {
Expand All @@ -37,7 +37,7 @@ extern "C" {
}
#endif

#endif /* QEMU_I386_BOARD_H */
#endif /* BOARD_H */

/**
* @}
Expand Down
Loading