From 4258e60771aa9fdabd678930eca534423bd371b8 Mon Sep 17 00:00:00 2001 From: Marijn van der Werf Date: Thu, 1 Dec 2016 03:51:24 +0100 Subject: 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 --- src/save_menu_util.c | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) (limited to 'src/save_menu_util.c') diff --git a/src/save_menu_util.c b/src/save_menu_util.c index c811f5244..c315acda5 100644 --- a/src/save_menu_util.c +++ b/src/save_menu_util.c @@ -1,23 +1,15 @@ #include "global.h" +#include "save_menu_util.h" #include "menu.h" #include "flag.h" +#include "string_util.h" +#include "pokedex.h" extern u8 gOtherText_Player[]; extern u8 gOtherText_Badges[]; extern u8 gOtherText_Pokedex[]; extern u8 gOtherText_PlayTime[]; -extern void ConvertIntToDecimalStringN(u8 *dest, u32 value, int mode, u8 n); - -u8 sub_809473C(void); -u8 GetBadgeCount(void); - -void PrintSavePlayerName(s16 x, s16 y); -void PrintSaveMapName(s16 x, s16 y); -void PrintSaveBadges(s16 x, s16 y); -void PrintSavePokedexCount(s16 x, s16 y); -void PrintSavePlayTime(s16 x, s16 y); - void HandleDrawSaveWindowInfo(s16 left, s16 top) { u32 width = 12; -- cgit v1.2.3