Replace header ifdef guards with #pragma once

This commit is contained in:
Arceveti committed 2021-09-25 11:08:11 -07:00
1 parent 0649427337
commit 3a6c577a41
367 files changed
+651 -1765

No files matched your search

+1 -4
View File
@@ -1,5 +1,4 @@
#ifndef DEBUG_LEVEL_SELECT_H
#define DEBUG_LEVEL_SELECT_H
#pragma once
#include <PR/gbi.h>
@@ -13,5 +12,3 @@ extern const Gfx debug_level_select_dl_070048C8[];
extern const Gfx debug_level_select_dl_07005558[];
extern const Gfx debug_level_select_dl_070059F8[];
extern const Gfx debug_level_select_dl_070063B0[];
#endif // DEBUG_LEVEL_SELECT_H
+1 -4
View File
@@ -1,5 +1,4 @@
#ifndef FILE_SELECT_H
#define FILE_SELECT_H
#pragma once
#include <PR/ultratypes.h>
#include <PR/gbi.h>
@@ -136,5 +135,3 @@ void bhv_menu_button_manager_loop(void);
Gfx *geo_file_select_strings_and_menu_cursor(s32 callContext, UNUSED struct GraphNode *node, UNUSED Mat4 mtx);
s32 lvl_init_menu_values_and_cursor_pos(UNUSED s32 arg, UNUSED s32 unused);
s32 lvl_update_obj_and_load_file_selected(UNUSED s32 arg, UNUSED s32 unused);
#endif // FILE_SELECT_H
+1 -4
View File
@@ -1,5 +1,4 @@
#ifndef INTRO_GEO_H
#define INTRO_GEO_H
#pragma once
#include <PR/ultratypes.h>
#include <PR/gbi.h>
@@ -18,5 +17,3 @@ Gfx *geo_intro_face_easter_egg(s32 state, struct GraphNode *node, UNUSED void *c
#if ENABLE_RUMBLE
Gfx *geo_intro_rumble_pak_graphic(s32 state, struct GraphNode *node, UNUSED void *context);
#endif
#endif // INTRO_GEO_H
+1 -4
View File
@@ -1,5 +1,4 @@
#ifndef STAR_SELECT_H
#define STAR_SELECT_H
#pragma once
#include <PR/ultratypes.h>
#include <PR/gbi.h>
@@ -16,5 +15,3 @@ enum StarSelectorTypes
Gfx *geo_act_selector_strings(s16 callContext, UNUSED struct GraphNode *node, UNUSED void *context);
s32 lvl_init_act_selector_values_and_stars(UNUSED s32 arg, UNUSED s32 unused);
s32 lvl_update_obj_and_load_act_button_actions(UNUSED s32 arg, UNUSED s32 unused);
#endif // STAR_SELECT_H
+1 -4
View File
@@ -1,5 +1,4 @@
#ifndef TITLE_SCREEN_H
#define TITLE_SCREEN_H
#pragma once
#include <PR/ultratypes.h>
@@ -13,5 +12,3 @@ enum LevelScriptIntroArgs {
};
s32 lvl_intro_update(s16 arg, UNUSED s32 unusedArg);
#endif // TITLE_SCREEN_H