summaryrefslogtreecommitdiff
path: root/src/heal_location.c
diff options
context:
space:
mode:
authorMarijn van der Werf <marijn.vanderwerf@gmail.com>2016-12-01 03:51:24 +0100
committerYamaArashi <YamaArashi@users.noreply.github.com>2016-11-30 18:51:24 -0800
commit4258e60771aa9fdabd678930eca534423bd371b8 (patch)
treeecca2ee7641abc0562f39b6c7dd907af2184e102 /src/heal_location.c
parent831f8cd4fd94613d6b52d87df1b4903bedfaa717 (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/heal_location.c')
-rw-r--r--src/heal_location.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/src/heal_location.c b/src/heal_location.c
index da2e466a9..13bb125b6 100644
--- a/src/heal_location.c
+++ b/src/heal_location.c
@@ -1,15 +1,8 @@
#include "global.h"
+#include "heal_location.h"
#define NUM_HEAL_LOCATIONS 22
-struct HealLocation
-{
- s8 group;
- s8 map;
- u16 x;
- u16 y;
-};
-
extern const struct HealLocation gHealLocations[];
u32 GetHealLocationIndexByMap(u16 mapGroup, u16 mapNum)