From 1f222c04ef1d10ff5a5c6bb98cd4380ecf2bba86 Mon Sep 17 00:00:00 2001 From: Marijn van der Werf Date: Fri, 2 Dec 2016 19:06:22 +0100 Subject: [WIP] Extract all external function declarations to headers (#114) * Extract other external function declarations * Fix GBA compilation * Revert `sub_803C434` to asm --- src/main.c | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) (limited to 'src/main.c') 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); -- cgit v1.2.3