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 __C_API_CONTROLLER_PAD__
#define __C_API_CONTROLLER_PAD__
#ifndef C_API_CONTROLLER_PAD_
#define C_API_CONTROLLER_PAD_
#include "global.h"
+2 -2
View File
@@ -1,5 +1,5 @@
#ifndef __C_API_GRAPHIC_H_
#define __C_API_GRAPHIC_H_
#ifndef C_API_GRAPHIC_H_
#define C_API_GRAPHIC_H_
#include "global.h"
+2 -2
View File
@@ -1,5 +1,5 @@
#ifndef __C_ANGLE_H_
#define __C_ANGLE_H_
#ifndef C_ANGLE_H_
#define C_ANGLE_H_
#include "SComponent/c_xyz.h"
#include "global.h"
+2 -2
View File
@@ -1,5 +1,5 @@
#ifndef __C_BG_S_CHK_H_
#define __C_BG_S_CHK_H_
#ifndef C_BG_S_CHK_H_
#define C_BG_S_CHK_H_
#include "global.h"
+2 -2
View File
@@ -1,5 +1,5 @@
#ifndef __C_BG_S_GND_CHK_H_
#define __C_BG_S_GND_CHK_H_
#ifndef C_BG_S_GND_CHK_H_
#define C_BG_S_GND_CHK_H_
#include "SComponent/c_xyz.h"
#include "global.h"
+2 -2
View File
@@ -1,5 +1,5 @@
#ifndef __C_BG_S_LIN_CHK_H_
#define __C_BG_S_LIN_CHK_H_
#ifndef C_BG_S_LIN_CHK_H_
#define C_BG_S_LIN_CHK_H_
#include "SComponent/c_xyz.h"
#include "global.h"
+2 -2
View File
@@ -1,5 +1,5 @@
#ifndef __C_BG_S_SHDW_DRAW_H_
#define __C_BG_S_SHDW_DRAW_H_
#ifndef C_BG_S_SHDW_DRAW_H_
#define C_BG_S_SHDW_DRAW_H_
#include "SComponent/c_m3d_g_pla.h"
#include "SComponent/c_xyz.h"
+2 -2
View File
@@ -1,5 +1,5 @@
#ifndef SCOMPONENT_C_BG_W_H
#define SCOMPONENT_C_BG_W_H
#ifndef SCOMPONENT_C_BG_W_H_
#define SCOMPONENT_C_BG_W_H_
#include "global.h"
+2 -2
View File
@@ -1,5 +1,5 @@
#ifndef __C_CC_D_H_
#define __C_CC_D_H_
#ifndef C_CC_D_H_
#define C_CC_D_H_
#include "SComponent/c_m3d/c_m3d.h"
#include "global.h"
+2 -2
View File
@@ -1,5 +1,5 @@
#ifndef __C_CC_S_H_
#define __C_CC_S_H_
#ifndef C_CC_S_H_
#define C_CC_S_H_
#include "SComponent/c_cc_d/c_cc_d.h"
#include "global.h"
+2 -2
View File
@@ -1,5 +1,5 @@
#ifndef __C_LIB_H_
#define __C_LIB_H_
#ifndef C_LIB_H_
#define C_LIB_H_
#include "SComponent/c_xyz.h"
#include "global.h"
+2 -2
View File
@@ -1,6 +1,6 @@
#ifndef SCOMPONENT_C_LIST_H
#define SCOMPONENT_C_LIST_H
#ifndef SCOMPONENT_C_LIST_H_
#define SCOMPONENT_C_LIST_H_
#include "SComponent/c_node.h"
+2 -2
View File
@@ -1,6 +1,6 @@
#ifndef SCOMPONENT_C_LIST_ITER_H
#define SCOMPONENT_C_LIST_ITER_H
#ifndef SCOMPONENT_C_LIST_ITER_H_
#define SCOMPONENT_C_LIST_ITER_H_
#include "SComponent/c_list.h"
#include "SComponent/c_node_iter.h"
+2 -2
View File
@@ -1,5 +1,5 @@
#ifndef __C_M2D_H_
#define __C_M2D_H_
#ifndef C_M2D_H_
#define C_M2D_H_
#include "global.h"
+2 -2
View File
@@ -1,5 +1,5 @@
#ifndef __C_M3D_H_
#define __C_M3D_H_
#ifndef C_M3D_H_
#define C_M3D_H_
#include "SComponent/c_m3d_g_aab.h"
#include "SComponent/c_m3d_g_cps.h"
+2 -2
View File
@@ -1,5 +1,5 @@
#ifndef __C_M3D_H_
#define __C_M3D_H_
#ifndef C_M3D_H_
#define C_M3D_H_
#include "SComponent/c_xyz/c_xyz.h"
#include "global.h"
+2 -2
View File
@@ -1,5 +1,5 @@
#ifndef __C_M3D_G_AAB_H_
#define __C_M3D_G_AAB_H_
#ifndef C_M3D_G_AAB_H_
#define C_M3D_G_AAB_H_
#include "SComponent/c_xyz.h"
#include "global.h"
+2 -2
View File
@@ -1,5 +1,5 @@
#ifndef __C_M3D_G_CIR_H_
#define __C_M3D_G_CIR_H_
#ifndef C_M3D_G_CIR_H_
#define C_M3D_G_CIR_H_
#include "global.h"
+2 -2
View File
@@ -1,5 +1,5 @@
#ifndef __C_M3D_G_CPS_H_
#define __C_M3D_G_CPS_H_
#ifndef C_M3D_G_CPS_H_
#define C_M3D_G_CPS_H_
#include "SComponent/c_xyz.h"
#include "global.h"
+2 -2
View File
@@ -1,5 +1,5 @@
#ifndef __C_M3D_G_CYL_H_
#define __C_M3D_G_CYL_H_
#ifndef C_M3D_G_CYL_H_
#define C_M3D_G_CYL_H_
#include "SComponent/c_xyz.h"
#include "global.h"
+2 -2
View File
@@ -1,5 +1,5 @@
#ifndef __C_M3D_G_LIN_H_
#define __C_M3D_G_LIN_H_
#ifndef C_M3D_G_LIN_H_
#define C_M3D_G_LIN_H_
#include "SComponent/c_xyz.h"
#include "global.h"
+2 -2
View File
@@ -1,5 +1,5 @@
#ifndef __C_M3C_G_PLA_H_
#define __C_M3C_G_PLA_H_
#ifndef C_M3C_G_PLA_H_
#define C_M3C_G_PLA_H_
#include "SComponent/c_xyz.h"
#include "global.h"
+2 -2
View File
@@ -1,5 +1,5 @@
#ifndef __C_M3D_G_SPH_H_
#define __C_M3D_G_SPH_H_
#ifndef C_M3D_G_SPH_H_
#define C_M3D_G_SPH_H_
#include "SComponent/c_m3d_g_cyl.h"
#include "SComponent/c_xyz.h"
+2 -2
View File
@@ -1,5 +1,5 @@
#ifndef __C_M3D_G_TRI_H_
#define __C_M3D_G_TRI_H_
#ifndef C_M3D_G_TRI_H_
#define C_M3D_G_TRI_H_
#include "SComponent/c_m3d_g_cyl.h"
#include "SComponent/c_m3d_g_pla.h"
+2 -2
View File
@@ -1,5 +1,5 @@
#ifndef __C_MALLOC_H_
#define __C_MALLOC_H_
#ifndef C_MALLOC_H_
#define C_MALLOC_H_
#include "JSystem/JKernel/JKRHeap/JKRHeap.h"
#include "global.h"
+2 -2
View File
@@ -1,5 +1,5 @@
#ifndef __C_MATH_H_
#define __C_MATH_H_
#ifndef C_MATH_H_
#define C_MATH_H_
#include "global.h"
+2 -2
View File
@@ -1,6 +1,6 @@
#ifndef SCOMPONENT_C_NODE_H
#define SCOMPONENT_C_NODE_H
#ifndef SCOMPONENT_C_NODE_H_
#define SCOMPONENT_C_NODE_H_
#include "global.h"
+2 -2
View File
@@ -1,6 +1,6 @@
#ifndef SCOMPONENT_C_NODE_ITER_H
#define SCOMPONENT_C_NODE_ITER_H
#ifndef SCOMPONENT_C_NODE_ITER_H_
#define SCOMPONENT_C_NODE_ITER_H_
#include "SComponent/c_node.h"
+2 -2
View File
@@ -1,6 +1,6 @@
#ifndef SCOMPONENT_C_PHASE_H
#define SCOMPONENT_C_PHASE_H
#ifndef SCOMPONENT_C_PHASE_H_
#define SCOMPONENT_C_PHASE_H_
typedef int (*cPhs__Handler)(void*);
+2 -2
View File
@@ -1,5 +1,5 @@
#ifndef __C_REQUEST_H_
#define __C_REQUEST_H_
#ifndef C_REQUEST_H_
#define C_REQUEST_H_
#include "f/f_pc/f_pc_base.h"
#include "global.h"
+2 -2
View File
@@ -1,5 +1,5 @@
#ifndef __C_SXYZ_H_
#define __C_SXYZ_H_
#ifndef C_SXYZ_H_
#define C_SXYZ_H_
#include "global.h"
+2 -2
View File
@@ -1,6 +1,6 @@
#ifndef SCOMPONENT_C_TAG_H
#define SCOMPONENT_C_TAG_H
#ifndef SCOMPONENT_C_TAG_H_
#define SCOMPONENT_C_TAG_H_
#include "SComponent/c_list.h"
#include "SComponent/c_node.h"
+2 -2
View File
@@ -1,6 +1,6 @@
#ifndef SCOMPONENT_C_TAG_ITER_H
#define SCOMPONENT_C_TAG_ITER_H
#ifndef SCOMPONENT_C_TAG_ITER_H_
#define SCOMPONENT_C_TAG_ITER_H_
#include "SComponent/c_node_iter.h"
#include "SComponent/c_tag.h"
+2 -2
View File
@@ -1,6 +1,6 @@
#ifndef SCOMPONENT_C_TREE_H
#define SCOMPONENT_C_TREE_H
#ifndef SCOMPONENT_C_TREE_H_
#define SCOMPONENT_C_TREE_H_
#include "SComponent/c_list.h"
#include "SComponent/c_node.h"
+2 -2
View File
@@ -1,6 +1,6 @@
#ifndef SCOMPONENT_C_TREE_ITER_H
#define SCOMPONENT_C_TREE_ITER_H
#ifndef SCOMPONENT_C_TREE_ITER_H_
#define SCOMPONENT_C_TREE_ITER_H_
#include "SComponent/c_node_iter.h"
#include "SComponent/c_tree.h"
+2 -2
View File
@@ -1,5 +1,5 @@
#ifndef __C_XYZ_H_
#define __C_XYZ_H_
#ifndef C_XYZ_H_
#define C_XYZ_H_
#include "SComponent/c_math.h"
#include "global.h"
+2 -2
View File
@@ -1,5 +1,5 @@
#ifndef __C_XYZ_H_
#define __C_XYZ_H_
#ifndef C_XYZ_H_
#define C_XYZ_H_
#include "global.h"
class cXyz {