mirror of
https://github.com/zeldaret/tmc
synced 2026-06-02 02:00:32 -04:00
fix variable declarations not being extern causing linker warnings
This commit is contained in:
+2
-2
@@ -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
|
||||
|
||||
+1
-1
@@ -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
|
||||
|
||||
+1
-1
@@ -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
|
||||
|
||||
+1
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user