summaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
authorMarijn van der Werf <marijn.vanderwerf@gmail.com>2016-12-02 19:06:22 +0100
committerYamaArashi <YamaArashi@users.noreply.github.com>2016-12-02 10:06:22 -0800
commit1f222c04ef1d10ff5a5c6bb98cd4380ecf2bba86 (patch)
tree573d6368233110b17292e498f49532c1c9244404 /src/main.c
parent4258e60771aa9fdabd678930eca534423bd371b8 (diff)
[WIP] Extract all external function declarations to headers (#114)
* Extract other external function declarations * Fix GBA compilation * Revert `sub_803C434` to asm
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c9
1 files changed, 2 insertions, 7 deletions
diff --git a/src/main.c b/src/main.c
index 0023925f8..a14663d32 100644
--- a/src/main.c
+++ b/src/main.c
@@ -1,5 +1,6 @@
#include "global.h"
#include "main.h"
+#include "asm.h"
#include "play_time.h"
#include "m4a.h"
#include "gba/m4a_internal.h"
@@ -8,6 +9,7 @@
#include "rtc.h"
#include "link.h"
#include "rng.h"
+#include "rom4.h"
#include "sound.h"
#include "intro.h"
@@ -65,13 +67,6 @@ u8 gPcmDmaCounter;
EWRAM_DATA void (*gFlashTimerIntrFunc)(void) = NULL;
-extern void sub_800C35C(void);
-extern void remove_some_task(void);
-extern u32 sub_80558AC(void);
-extern u32 sub_8055910(void);
-extern u32 sub_8055940(void);
-extern void CheckForFlashMemory(void);
-
static void UpdateLinkAndCallCallbacks(void);
static void InitMainCallbacks(void);
static void CallCallbacks(void);