summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDragorn421 <Dragorn421@users.noreply.github.com>2025-02-25 03:18:24 +0100
committerGitHub <noreply@github.com>2025-02-24 21:18:24 -0500
commite6a9ad96207b91de2e78775dc46c00136e032f09 (patch)
treefbfa0f0d328519228bdbe5487c634648a4671db6
parent2e4c42719b4dd10b328810cd2c58391063497d41 (diff)
Fixup includes (#2483)
-rw-r--r--include/functions.h2
-rw-r--r--include/ultra64.h1
-rw-r--r--src/code/sys_math_atan.c1
-rw-r--r--src/code/sys_ucode.c1
-rw-r--r--src/code/z_elf_message.c1
-rw-r--r--src/code/z_olib.c1
-rw-r--r--src/code/z_ss_sram.c1
-rw-r--r--src/libc64/math64.c1
-rw-r--r--src/libu64/padsetup.c1
9 files changed, 8 insertions, 2 deletions
diff --git a/include/functions.h b/include/functions.h
index fbf16a1ea..e5d15c10e 100644
--- a/include/functions.h
+++ b/include/functions.h
@@ -102,7 +102,7 @@ ListAlloc* ListAlloc_Init(ListAlloc* this);
void* ListAlloc_Alloc(ListAlloc* this, u32 size);
void ListAlloc_Free(ListAlloc* this, void* data);
void ListAlloc_FreeAll(ListAlloc* this);
-void Main(void* arg);
+
void SysCfb_Init(s32 n64dd);
void* SysCfb_GetFbPtr(s32 idx);
void* SysCfb_GetFbEnd(void);
diff --git a/include/ultra64.h b/include/ultra64.h
index 30e43563e..9972a4dfe 100644
--- a/include/ultra64.h
+++ b/include/ultra64.h
@@ -189,7 +189,6 @@ void osViSetEvent(OSMesgQueue* mq, OSMesg msg, u32 retraceCount);
s32 osPfsIsPlug(OSMesgQueue* mq, u8* pattern);
void __osPfsRequestData(u8 cmd);
void __osPfsGetInitData(u8* pattern, OSContStatus* contData);
-void guS2DInitBg(union uObjBg* bg);
s32 __osPfsSelectBank(OSPfs* pfs, u8 bank);
s32 osContSetCh(u8 ch);
s32 osPfsFileState(OSPfs* pfs, s32 fileNo, OSPfsState* state);
diff --git a/src/code/sys_math_atan.c b/src/code/sys_math_atan.c
index 0647745b0..8dabed7d7 100644
--- a/src/code/sys_math_atan.c
+++ b/src/code/sys_math_atan.c
@@ -1,3 +1,4 @@
+#include "sys_math.h"
#include "z64math.h"
#include "macros.h"
diff --git a/src/code/sys_ucode.c b/src/code/sys_ucode.c
index 3e4ad8cbf..71ae00390 100644
--- a/src/code/sys_ucode.c
+++ b/src/code/sys_ucode.c
@@ -1,4 +1,5 @@
#include "ultra64.h"
+#include "sys_ucode.h"
u64* sDefaultGSPUCodeText = gspF3DZEX2_NoN_PosLight_fifoTextStart;
u64* sDefaultGSPUCodeData = gspF3DZEX2_NoN_PosLight_fifoDataStart;
diff --git a/src/code/z_elf_message.c b/src/code/z_elf_message.c
index 7b3cf1c55..bb9309936 100644
--- a/src/code/z_elf_message.c
+++ b/src/code/z_elf_message.c
@@ -2,6 +2,7 @@
#include "rand.h"
#include "z64play.h"
#include "z64player.h"
+#include "z64quest_hint.h"
#include "z64quest_hint_commands.h"
#include "z64save.h"
diff --git a/src/code/z_olib.c b/src/code/z_olib.c
index 298f151e2..66c767f68 100644
--- a/src/code/z_olib.c
+++ b/src/code/z_olib.c
@@ -1,5 +1,6 @@
#include "z64math.h"
#include "libc64/math64.h"
+#include "z64olib.h"
#include "z_lib.h"
/**
diff --git a/src/code/z_ss_sram.c b/src/code/z_ss_sram.c
index c2b7e2d34..330f5ca4a 100644
--- a/src/code/z_ss_sram.c
+++ b/src/code/z_ss_sram.c
@@ -1,4 +1,5 @@
#include "ultra64.h"
+#include "z64ss_sram.h"
#include "macros.h"
#include "global.h"
diff --git a/src/libc64/math64.c b/src/libc64/math64.c
index 85fb4cedf..f2a6edba9 100644
--- a/src/libc64/math64.c
+++ b/src/libc64/math64.c
@@ -1,3 +1,4 @@
+#include "libc64/math64.h"
#include "z64math.h"
#include "macros.h"
diff --git a/src/libu64/padsetup.c b/src/libu64/padsetup.c
index 86f38c0ad..fde25418f 100644
--- a/src/libu64/padsetup.c
+++ b/src/libu64/padsetup.c
@@ -1,4 +1,5 @@
#include "ultra64.h"
+#include "libu64/padsetup.h"
s32 PadSetup_Init(OSMesgQueue* mq, u8* outMask, OSContStatus* status) {
s32 ret;