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/menu.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/menu.c')
-rw-r--r-- | src/menu.c | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/src/menu.c b/src/menu.c index 5744df4c1..3b0440afb 100644 --- a/src/menu.c +++ b/src/menu.c @@ -5,6 +5,7 @@ #include "songs.h" #include "text_window.h" #include "sound.h" +#include "menu_cursor.h" struct Menu { @@ -27,12 +28,6 @@ static u8 sub_80724F4(u8, u8, u8, u8 * const [][2], u8); static void sub_8072620(u8, u8, u8, u8 * const [][2], u8); static void sub_8072D18(u8, u8); -extern void sub_814A5C0(u8, u16, u8, u16, u8); -extern void sub_814A880(u8, u8); -extern void sub_814A904(void); -extern void sub_814A958(u8); -extern void sub_814A7FC(void); - static struct Menu gMenu; EWRAM_DATA struct Window gMenuWindow = {0}; @@ -46,7 +41,7 @@ EWRAM_DATA u16 gMenuMessageBoxContentTileOffset = 0; extern const u8 *gUnknown_08376D74[][2]; -void InitMenuWindow(struct WindowConfig *winConfig) +void InitMenuWindow(const struct WindowConfig *winConfig) { InitMenuWindowInternal(winConfig, 1); } |