summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorHenny022p <info@henny022.de>2021-03-31 19:20:54 +0200
committerHenny022p <info@henny022.de>2021-03-31 19:20:54 +0200
commitfbdf9aed7b968493f98e8c0f504fe5fca2184900 (patch)
tree02659458b7121bedde5a92524b4ca7b1310733e9 /include
parent167fe388b68802bdf17d4017bff8e60b76bf372c (diff)
fix variable declarations not being extern causing linker warnings
Diffstat (limited to 'include')
-rw-r--r--include/coord.h4
-rw-r--r--include/manager.h2
-rw-r--r--include/npc.h2
-rw-r--r--include/object.h2
4 files changed, 5 insertions, 5 deletions
diff --git a/include/coord.h b/include/coord.h
index b91c97b2..46494400 100644
--- a/include/coord.h
+++ b/include/coord.h
@@ -15,7 +15,7 @@ void sub_0806FA90(Entity*, Entity*, s32, s32);
void ResolveEntityOnTop(Entity*, Entity*);
void sub_0806FAD8(Entity*, Entity*);
-const s16 gSineTable[64];
-const s16 gCosineTable[256];
+extern const s16 gSineTable[64];
+extern const s16 gCosineTable[256];
#endif
diff --git a/include/manager.h b/include/manager.h
index 66d2e202..18c6d370 100644
--- a/include/manager.h
+++ b/include/manager.h
@@ -191,6 +191,6 @@ extern void sub_0805DE38(Entity*);
extern void sub_0805E0A8(Entity*);
extern void sub_0805E0FC();
-void (*const gManagerFunctions[58])();
+extern void (*const gManagerFunctions[58])();
#endif
diff --git a/include/npc.h b/include/npc.h
index ec7fc861..feec7fd9 100644
--- a/include/npc.h
+++ b/include/npc.h
@@ -168,6 +168,6 @@ extern void NPC58_Head(Entity*);
extern u32 UpdateFuseInteraction(Entity*);
-void (*const gNPCFunctions[128][3])(Entity*);
+extern void (*const gNPCFunctions[128][3])(Entity*);
#endif
diff --git a/include/object.h b/include/object.h
index 465ef064..145ae462 100644
--- a/include/object.h
+++ b/include/object.h
@@ -396,6 +396,6 @@ extern void ObjectBF(Entity*);
extern void EnemyItem(Entity*);
extern void ObjectC1(Entity*);
-void (*const gObjectFunctions[194])(Entity*);
+extern void (*const gObjectFunctions[194])(Entity*);
#endif