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

*: remove trailing underscores from header guards #6407

Merged
merged 3 commits into from
Jan 20, 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/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 All @@ -46,5 +46,5 @@ void board_init(void);
} /* end extern "C" */
#endif

#endif /* BOARD_H_ */
#endif /* BOARD_H */
/** @} */
6 changes: 3 additions & 3 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

#include "periph_cpu.h"

Expand Down Expand Up @@ -140,4 +140,4 @@ static const i2c_conf_t i2c_config[] = {
} /* end extern "C" */
#endif

#endif /* PERIPH_CONF_H_ */
#endif /* PERIPH_CONF_H */
6 changes: 3 additions & 3 deletions boards/arduino-common/include/board.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@
* @author Laurent Navet <laurent.navet@gmail.com>
*/

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

#include "cpu.h"
#include "arduino_pinmap.h"
Expand Down Expand Up @@ -86,5 +86,5 @@ void board_init(void);
}
#endif

#endif /* BOARD_H_ */
#endif /* BOARD_H */
/** @} */
6 changes: 3 additions & 3 deletions boards/arduino-common/include/periph_conf.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@
* @author Laurent Navet <laurent.navet@gmail.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 @@ -87,4 +87,4 @@ extern "C" {
}
#endif

#endif /* PERIPH_CONF_H_ */
#endif /* PERIPH_CONF_H */
6 changes: 3 additions & 3 deletions boards/arduino-due/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"
#include "arduino_pinmap.h"
Expand Down Expand Up @@ -48,5 +48,5 @@ void board_init(void);
}
#endif

#endif /* BOARD_H_ */
#endif /* BOARD_H */
/** @} */
6 changes: 3 additions & 3 deletions boards/arduino-due/include/periph_conf.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
* @author Andreas "Paul" Pauli <andreas.pauli@haw-hamburg.de>
*/

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

#include "periph_cpu.h"

Expand Down Expand Up @@ -130,5 +130,5 @@ static const pwm_chan_conf_t pwm_chan[] = {
}
#endif

#endif /* PERIPH_CONF_H_ */
#endif /* PERIPH_CONF_H */
/** @} */
6 changes: 3 additions & 3 deletions boards/arduino-mega2560/include/board.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
* @author Hinnerk van Bruinehsen <h.v.bruinehsen@fu-berlin.de>
*/

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

#include "cpu.h"
#include "arduino_pinmap.h"
Expand Down Expand Up @@ -82,5 +82,5 @@ void board_init(void);
}
#endif

#endif /* BOARD_H_ */
#endif /* BOARD_H */
/** @} */
6 changes: 3 additions & 3 deletions boards/arduino-mega2560/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 Expand Up @@ -104,4 +104,4 @@ extern "C" {
}
#endif

#endif /* PERIPH_CONF_H_ */
#endif /* PERIPH_CONF_H */
6 changes: 3 additions & 3 deletions boards/arduino-zero/include/board.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@
* @author Alexandre Abadie <alexandre.abadie@inria.fr>
*/

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

#include "cpu.h"
#include "periph_conf.h"
Expand Down Expand Up @@ -62,5 +62,5 @@ void board_init(void);
}
#endif

#endif /* BOARD_H_ */
#endif /* BOARD_H */
/** @} */
6 changes: 3 additions & 3 deletions boards/arduino-zero/include/periph_conf.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,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 <stdint.h>

Expand Down Expand Up @@ -250,5 +250,5 @@ static const pwm_conf_t pwm_config[] = {
}
#endif

#endif /* PERIPH_CONF_H_ */
#endif /* PERIPH_CONF_H */
/** @} */
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 BOARDCONF_H
#define BOARDCONF_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 /* BOARDCONF_H */
6 changes: 3 additions & 3 deletions boards/avsextrem/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

#include "lpc2387.h"

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

#endif /* PERIPH_CONF_H_ */
#endif /* PERIPH_CONF_H */
/** @} */
6 changes: 3 additions & 3 deletions boards/avsextrem/include/smb380-board.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
*
*/

#ifndef SMB380_H_
#define SMB380_H_
#ifndef SMB380_H
#define SMB380_H
#include <stdint.h>
#include "bitarithm.h"

Expand Down Expand Up @@ -255,4 +255,4 @@ void SMB380_Selftest_1(void);
}
#endif

#endif /* SMB380_H_ */
#endif /* SMB380_H */
6 changes: 3 additions & 3 deletions boards/avsextrem/include/ssp0-board.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@
*
* @note $Id: avsextrem-ssp0.c 3854 2010-01-18 15:27:01Z zkasmi $
*/
#ifndef SSP_H_
#define SSP_H_
#ifndef SSP_H
#define SSP_H

#include "stdint.h"

Expand Down Expand Up @@ -122,4 +122,4 @@ void SSP0Handler(void);
}
#endif

#endif /* SSP_H_ */
#endif /* SSP_H */
6 changes: 3 additions & 3 deletions boards/calliope-mini/include/mini.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 MINI_H_
#define MINI_H_
#ifndef MINI_H
#define MINI_H

#include <stdint.h>

Expand Down Expand Up @@ -86,5 +86,5 @@ void mini_matrix_shift_str(const char *str, uint32_t delay);
}
#endif

#endif /* MINI_H_ */
#endif /* MINI_H */
/** @} */
6 changes: 3 additions & 3 deletions boards/cc2538dk/include/board.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
* @author Ian Martin <ian@locicontrols.com>
*/

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

#include "cpu.h"
#include "periph/gpio.h"
Expand Down Expand Up @@ -95,5 +95,5 @@ void board_init(void);
} /* end extern "C" */
#endif

#endif /* BOARD_H_ */
#endif /* BOARD_H */
/** @} */
6 changes: 3 additions & 3 deletions boards/cc2538dk/include/periph_conf.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
* @author Ian Martin <ian@locicontrols.com>
*/

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

#include "cpu.h"
#include "periph_cpu.h"
Expand Down Expand Up @@ -141,5 +141,5 @@ static const periph_spi_conf_t spi_config[SPI_NUMOF] = {
} /* end extern "C" */
#endif

#endif /* PERIPH_CONF_H_ */
#endif /* PERIPH_CONF_H */
/** @} */
6 changes: 3 additions & 3 deletions boards/cc2650stk/include/board.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
* @author Leon M. George <leon@georgemail.eu>
*/

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

#include "periph/gpio.h"

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

#endif /* BOARD_H_ */
#endif /* BOARD_H */
/** @} */
6 changes: 3 additions & 3 deletions boards/cc2650stk/include/periph_conf.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
* @author Leon M. George <leon@georgemail.eu>
*/

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

#include "periph_cpu.h"

Expand Down Expand Up @@ -73,5 +73,5 @@ static const timer_conf_t timer_config[] = {
}
#endif

#endif /* PERIPH_CONF_H_ */
#endif /* PERIPH_CONF_H */
/** @} */
4 changes: 2 additions & 2 deletions boards/chronos/drivers/include/battery.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
* directory for more details.
*/

#ifndef BATTERY_H_
#define BATTERY_H_
#ifndef BATTERY_H
#define BATTERY_H

#ifdef __cplusplus
extern "C" {
Expand Down
4 changes: 2 additions & 2 deletions boards/chronos/drivers/include/buzzer.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
* directory for more details.
*/

#ifndef BUZZER_H_
#define BUZZER_H_
#ifndef BUZZER_H
#define BUZZER_H

#include <stdint.h>

Expand Down
6 changes: 3 additions & 3 deletions boards/chronos/drivers/include/display.h
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@
* Basic display functions.
* ************************************************************************************************/

#ifndef DISPLAY_H_
#define DISPLAY_H_
#ifndef DISPLAY_H
#define DISPLAY_H

#ifdef __cplusplus
extern "C" {
Expand Down Expand Up @@ -463,4 +463,4 @@ void display_all_off(void);
}
#endif

#endif /* DISPLAY_ */
#endif /* DISPLAY_H */
6 changes: 3 additions & 3 deletions boards/chronos/drivers/include/display_putchar.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
* directory for more details.
*/

#ifndef DISPLAY_PUTCHAR_H_
#define DISPLAY_PUTCHAR_H_
#ifndef DISPLAY_PUTCHAR_H
#define DISPLAY_PUTCHAR_H

#ifdef __cplusplus
extern "C" {
Expand All @@ -19,4 +19,4 @@ void init_display_putchar(void);
}
#endif

#endif /* DISPLAY_PUTCHAR_H_ */
#endif /* DISPLAY_PUTCHAR_H */
Loading