diff options
| author | Erin Moon <erin@hecke.rs> | 2021-01-18 13:02:51 -0600 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-01-18 14:02:51 -0500 |
| commit | c70d485d3519ffa6d54b4d9a5581247de8fe9587 (patch) | |
| tree | cba0edf9e5246ec629db53aee40532c816d0d29c /include/SComponent | |
| parent | 8a7a0e502a3a446f115786a05085f65990af2c4b (diff) | |
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>
Diffstat (limited to 'include/SComponent')
37 files changed, 74 insertions, 74 deletions
diff --git a/include/SComponent/c_API_controller_pad.h b/include/SComponent/c_API_controller_pad.h index b200ba825b..69dc4f0a9e 100644 --- a/include/SComponent/c_API_controller_pad.h +++ b/include/SComponent/c_API_controller_pad.h @@ -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" diff --git a/include/SComponent/c_API_graphic.h b/include/SComponent/c_API_graphic.h index addd8ce849..b9efb89bdb 100644 --- a/include/SComponent/c_API_graphic.h +++ b/include/SComponent/c_API_graphic.h @@ -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" diff --git a/include/SComponent/c_angle.h b/include/SComponent/c_angle.h index 09a99e0388..3bd70377ca 100644 --- a/include/SComponent/c_angle.h +++ b/include/SComponent/c_angle.h @@ -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" diff --git a/include/SComponent/c_bg_s_chk.h b/include/SComponent/c_bg_s_chk.h index 0d6016e4f0..f0f1772b03 100644 --- a/include/SComponent/c_bg_s_chk.h +++ b/include/SComponent/c_bg_s_chk.h @@ -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" diff --git a/include/SComponent/c_bg_s_gnd_chk.h b/include/SComponent/c_bg_s_gnd_chk.h index c0f0406852..533416f223 100644 --- a/include/SComponent/c_bg_s_gnd_chk.h +++ b/include/SComponent/c_bg_s_gnd_chk.h @@ -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" diff --git a/include/SComponent/c_bg_s_lin_chk.h b/include/SComponent/c_bg_s_lin_chk.h index 91e28b3a52..2279cf6f62 100644 --- a/include/SComponent/c_bg_s_lin_chk.h +++ b/include/SComponent/c_bg_s_lin_chk.h @@ -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" diff --git a/include/SComponent/c_bg_s_shdw_draw.h b/include/SComponent/c_bg_s_shdw_draw.h index df209720e6..a87597bf9c 100644 --- a/include/SComponent/c_bg_s_shdw_draw.h +++ b/include/SComponent/c_bg_s_shdw_draw.h @@ -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" diff --git a/include/SComponent/c_bg_w.h b/include/SComponent/c_bg_w.h index 7ac9034b95..ed34c756b9 100644 --- a/include/SComponent/c_bg_w.h +++ b/include/SComponent/c_bg_w.h @@ -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" diff --git a/include/SComponent/c_cc_d/c_cc_d.h b/include/SComponent/c_cc_d/c_cc_d.h index 441dbab97b..ff091cff81 100644 --- a/include/SComponent/c_cc_d/c_cc_d.h +++ b/include/SComponent/c_cc_d/c_cc_d.h @@ -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" diff --git a/include/SComponent/c_cc_s/c_cc_s.h b/include/SComponent/c_cc_s/c_cc_s.h index eee254b996..da27045090 100644 --- a/include/SComponent/c_cc_s/c_cc_s.h +++ b/include/SComponent/c_cc_s/c_cc_s.h @@ -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" diff --git a/include/SComponent/c_lib.h b/include/SComponent/c_lib.h index 8483ed4248..32beae0d3f 100644 --- a/include/SComponent/c_lib.h +++ b/include/SComponent/c_lib.h @@ -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" diff --git a/include/SComponent/c_list.h b/include/SComponent/c_list.h index 8069ed827b..648d34701e 100644 --- a/include/SComponent/c_list.h +++ b/include/SComponent/c_list.h @@ -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" diff --git a/include/SComponent/c_list_iter.h b/include/SComponent/c_list_iter.h index a2d0404cfb..6a55edc2ef 100644 --- a/include/SComponent/c_list_iter.h +++ b/include/SComponent/c_list_iter.h @@ -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" diff --git a/include/SComponent/c_m2d.h b/include/SComponent/c_m2d.h index 5023a29d7b..2454f5afb6 100644 --- a/include/SComponent/c_m2d.h +++ b/include/SComponent/c_m2d.h @@ -1,5 +1,5 @@ -#ifndef __C_M2D_H_ -#define __C_M2D_H_ +#ifndef C_M2D_H_ +#define C_M2D_H_ #include "global.h" diff --git a/include/SComponent/c_m3d.h b/include/SComponent/c_m3d.h index a9ab86909a..c3c56e93ac 100644 --- a/include/SComponent/c_m3d.h +++ b/include/SComponent/c_m3d.h @@ -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" diff --git a/include/SComponent/c_m3d/c_m3d.h b/include/SComponent/c_m3d/c_m3d.h index c448bb5e43..622e68a5b5 100644 --- a/include/SComponent/c_m3d/c_m3d.h +++ b/include/SComponent/c_m3d/c_m3d.h @@ -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" diff --git a/include/SComponent/c_m3d_g_aab.h b/include/SComponent/c_m3d_g_aab.h index 1f3bc776cd..d0735f1c1e 100644 --- a/include/SComponent/c_m3d_g_aab.h +++ b/include/SComponent/c_m3d_g_aab.h @@ -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" diff --git a/include/SComponent/c_m3d_g_cir.h b/include/SComponent/c_m3d_g_cir.h index 8b0b2fa7b2..254c9cdb8c 100644 --- a/include/SComponent/c_m3d_g_cir.h +++ b/include/SComponent/c_m3d_g_cir.h @@ -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" diff --git a/include/SComponent/c_m3d_g_cps.h b/include/SComponent/c_m3d_g_cps.h index f7c6070e26..abb3dc9755 100644 --- a/include/SComponent/c_m3d_g_cps.h +++ b/include/SComponent/c_m3d_g_cps.h @@ -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" diff --git a/include/SComponent/c_m3d_g_cyl.h b/include/SComponent/c_m3d_g_cyl.h index bcf7e25149..47ba855dbf 100644 --- a/include/SComponent/c_m3d_g_cyl.h +++ b/include/SComponent/c_m3d_g_cyl.h @@ -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" diff --git a/include/SComponent/c_m3d_g_lin.h b/include/SComponent/c_m3d_g_lin.h index 830a1b7fd4..4c37a9d247 100644 --- a/include/SComponent/c_m3d_g_lin.h +++ b/include/SComponent/c_m3d_g_lin.h @@ -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" diff --git a/include/SComponent/c_m3d_g_pla.h b/include/SComponent/c_m3d_g_pla.h index 865080aff3..9a7042ab15 100644 --- a/include/SComponent/c_m3d_g_pla.h +++ b/include/SComponent/c_m3d_g_pla.h @@ -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" diff --git a/include/SComponent/c_m3d_g_sph.h b/include/SComponent/c_m3d_g_sph.h index f606cb63da..07021ee1d9 100644 --- a/include/SComponent/c_m3d_g_sph.h +++ b/include/SComponent/c_m3d_g_sph.h @@ -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" diff --git a/include/SComponent/c_m3d_g_tri.h b/include/SComponent/c_m3d_g_tri.h index 1b74ee4d5b..c22783ed50 100644 --- a/include/SComponent/c_m3d_g_tri.h +++ b/include/SComponent/c_m3d_g_tri.h @@ -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" diff --git a/include/SComponent/c_malloc.h b/include/SComponent/c_malloc.h index 498b9164a6..3107faae1f 100644 --- a/include/SComponent/c_malloc.h +++ b/include/SComponent/c_malloc.h @@ -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" diff --git a/include/SComponent/c_math.h b/include/SComponent/c_math.h index 78886d4d36..bf9b94e54f 100644 --- a/include/SComponent/c_math.h +++ b/include/SComponent/c_math.h @@ -1,5 +1,5 @@ -#ifndef __C_MATH_H_ -#define __C_MATH_H_ +#ifndef C_MATH_H_ +#define C_MATH_H_ #include "global.h" diff --git a/include/SComponent/c_node.h b/include/SComponent/c_node.h index d2ac01d3b3..f120e3ec75 100644 --- a/include/SComponent/c_node.h +++ b/include/SComponent/c_node.h @@ -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" diff --git a/include/SComponent/c_node_iter.h b/include/SComponent/c_node_iter.h index 2a58390380..2813803c73 100644 --- a/include/SComponent/c_node_iter.h +++ b/include/SComponent/c_node_iter.h @@ -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" diff --git a/include/SComponent/c_phase.h b/include/SComponent/c_phase.h index c08ee5b9ee..91737ced0a 100644 --- a/include/SComponent/c_phase.h +++ b/include/SComponent/c_phase.h @@ -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*); diff --git a/include/SComponent/c_request.h b/include/SComponent/c_request.h index fbb5c801db..485c572c2d 100644 --- a/include/SComponent/c_request.h +++ b/include/SComponent/c_request.h @@ -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" diff --git a/include/SComponent/c_sxyz.h b/include/SComponent/c_sxyz.h index d96d57cecb..2839bb39ae 100644 --- a/include/SComponent/c_sxyz.h +++ b/include/SComponent/c_sxyz.h @@ -1,5 +1,5 @@ -#ifndef __C_SXYZ_H_ -#define __C_SXYZ_H_ +#ifndef C_SXYZ_H_ +#define C_SXYZ_H_ #include "global.h" diff --git a/include/SComponent/c_tag.h b/include/SComponent/c_tag.h index 2e862bd22f..8facd1d8cf 100644 --- a/include/SComponent/c_tag.h +++ b/include/SComponent/c_tag.h @@ -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" diff --git a/include/SComponent/c_tag_iter.h b/include/SComponent/c_tag_iter.h index 5fbe940b49..d179b6916b 100644 --- a/include/SComponent/c_tag_iter.h +++ b/include/SComponent/c_tag_iter.h @@ -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" diff --git a/include/SComponent/c_tree.h b/include/SComponent/c_tree.h index a657f2ecf5..e97c6100be 100644 --- a/include/SComponent/c_tree.h +++ b/include/SComponent/c_tree.h @@ -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" diff --git a/include/SComponent/c_tree_iter.h b/include/SComponent/c_tree_iter.h index 0c33fb5d14..7cf639ffee 100644 --- a/include/SComponent/c_tree_iter.h +++ b/include/SComponent/c_tree_iter.h @@ -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" diff --git a/include/SComponent/c_xyz.h b/include/SComponent/c_xyz.h index 57f7a47a89..784100b25b 100644 --- a/include/SComponent/c_xyz.h +++ b/include/SComponent/c_xyz.h @@ -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" diff --git a/include/SComponent/c_xyz/c_xyz.h b/include/SComponent/c_xyz/c_xyz.h index c70f940b4e..5b9e18b35c 100644 --- a/include/SComponent/c_xyz/c_xyz.h +++ b/include/SComponent/c_xyz/c_xyz.h @@ -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 { |
