diff options
author | Marijn van der Werf <marijn.vanderwerf@gmail.com> | 2016-12-01 03:51:24 +0100 |
---|---|---|
committer | YamaArashi <YamaArashi@users.noreply.github.com> | 2016-11-30 18:51:24 -0800 |
commit | 4258e60771aa9fdabd678930eca534423bd371b8 (patch) | |
tree | ecca2ee7641abc0562f39b6c7dd907af2184e102 /src/main.c | |
parent | 831f8cd4fd94613d6b52d87df1b4903bedfaa717 (diff) |
Declare more non-static functions in header files (#111)
* Declare more non-static functions in header files
* Use `(void)` for functions without arguments.
* Move global-included data to seperate headers
* Don't import types or global in header
* Fix fieldmap imports
* Revert in-code changes
* Add missing newlines
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/main.c b/src/main.c index ef7e76df6..0023925f8 100644 --- a/src/main.c +++ b/src/main.c @@ -1,12 +1,15 @@ #include "global.h" +#include "main.h" +#include "play_time.h" +#include "m4a.h" #include "gba/m4a_internal.h" #include "gba/flash_internal.h" #include "siirtc.h" -#include "main.h" #include "rtc.h" #include "link.h" #include "rng.h" #include "sound.h" +#include "intro.h" extern struct SoundInfo gSoundInfo; extern u32 gUnknown_3004820; @@ -64,7 +67,6 @@ EWRAM_DATA void (*gFlashTimerIntrFunc)(void) = NULL; extern void sub_800C35C(void); extern void remove_some_task(void); -extern void c2_copyright_1(); extern u32 sub_80558AC(void); extern u32 sub_8055910(void); extern u32 sub_8055940(void); |