mirror of https://github.com/zeldaret/tmc.git
fix variable declarations not being extern causing linker warnings
This commit is contained in:
parent
167fe388b6
commit
fbdf9aed7b
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue