normalize header guards to {tu_name}_H_ (#87)

i previously had a bad habit of using double underscores in include
guard macro names, which are implementation-reserved per
the C++98 standard (see 17.4.3.1.2 Global names).

Co-authored-by: Pheenoh <pheenoh@gmail.com>
This commit is contained in:
Erin Moon
2021-01-18 13:02:51 -06:00
committed by GitHub
parent a154ad0688
commit ebd329b188
145 changed files with 290 additions and 290 deletions
+2 -2
View File
@@ -1,5 +1,5 @@
#ifndef __D_ATTENTION_H_
#define __D_ATTENTION_H_
#ifndef D_ATTENTION_H_
#define D_ATTENTION_H_
#include "SComponent/c_angle.h"
#include "SComponent/c_xyz/c_xyz.h"
+2 -2
View File
@@ -1,5 +1,5 @@
#ifndef __D_BG_S_H_
#define __D_BG_S_H_
#ifndef D_BG_S_H_
#define D_BG_S_H_
#include "d/d_bg/d_bg_w/d_bg_w_base/d_bg_w_base.h"
#include "global.h"
@@ -1,5 +1,5 @@
#ifndef __D_BG_W_BASE_H_
#define __D_BG_W_BASE_H_
#ifndef D_BG_W_BASE_H_
#define D_BG_W_BASE_H_
#include "global.h"
#pragma pack(push, 1)
+2 -2
View File
@@ -1,5 +1,5 @@
#ifndef __D_CC_S_H_
#define __D_CC_S_H_
#ifndef D_CC_S_H_
#define D_CC_S_H_
#include "SComponent/c_cc_s/c_cc_s.h"
#include "d/d_cc/d_cc_mass_s/d_cc_mass_s.h"
@@ -1,5 +1,5 @@
#ifndef __D_COM_INF_GAME_H_
#define __D_COM_INF_GAME_H_
#ifndef D_COM_INF_GAME_H_
#define D_COM_INF_GAME_H_
#include "SComponent/c_xyz/c_xyz.h"
#include "d/d_attention/d_attention.h"
+2 -2
View File
@@ -1,5 +1,5 @@
#ifndef __D_EVENT_H_
#define __D_EVENT_H_
#ifndef D_EVENT_H_
#define D_EVENT_H_
#include "dolphin/types.h"
@@ -1,5 +1,5 @@
#ifndef __D_EVENT_DATA_H_
#define __D_EVENT_DATA_H_
#ifndef D_EVENT_DATA_H_
#define D_EVENT_DATA_H_
#include "global.h"
@@ -1,5 +1,5 @@
#ifndef __D_EVENT_MANAGER_H_
#define __D_EVENT_MANAGER_H_
#ifndef D_EVENT_MANAGER_H_
#define D_EVENT_MANAGER_H_
#include "d/d_event/d_event_data/d_event_data.h"
#include "dolphin/types.h"
@@ -1,5 +1,5 @@
#ifndef __D_METER2_INFO_H_
#define __D_METER2_INFO_H_
#ifndef D_METER2_INFO_H_
#define D_METER2_INFO_H_
#include "JSystem/J2DGraph/J2DPicture/J2DPicture.h"
#include "JSystem/J2DGraph/J2DScreen/J2DScreen.h"
+2 -2
View File
@@ -1,5 +1,5 @@
#ifndef __D_SAVE_H_
#define __D_SAVE_H_
#ifndef D_SAVE_H_
#define D_SAVE_H_
#include "SComponent/c_xyz/c_xyz.h"
#include "d/d_meter2/d_meter2_info/d_meter2_info.h"
+2 -2
View File
@@ -1,5 +1,5 @@
#ifndef __D_SAVE_INIT_H__
#define __D_SAVE_INIT_H__
#ifndef D_SAVE_INIT_H_
#define D_SAVE_INIT_H_
extern "C" {
void setInitEventBit();
+2 -2
View File
@@ -1,5 +1,5 @@
#ifndef __D_STAGE_H_
#define __D_STAGE_H_
#ifndef D_STAGE_H_
#define D_STAGE_H_
#include "global.h"
class stage_arrow_class {};
+2 -2
View File
@@ -1,5 +1,5 @@
#ifndef __D_VIBRATION_H_
#define __D_VIBRATION_H_
#ifndef D_VIBRATION_H_
#define D_VIBRATION_H_
#include "global.h"