From 36942a229c7e2b67960bd366ab65186c5035edc2 Mon Sep 17 00:00:00 2001 From: Seth Barberee Date: Mon, 29 May 2023 21:02:57 -0700 Subject: [PATCH] fix linker warnings --- src/code_8057824.c | 2 +- src/status_actions.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/code_8057824.c b/src/code_8057824.c index 77ce4e4b0..99971bde4 100644 --- a/src/code_8057824.c +++ b/src/code_8057824.c @@ -27,7 +27,7 @@ struct NaturePowerMove MoveCallback move; }; -struct NaturePowerMove gNaturePowerMoveTable[10]; +extern struct NaturePowerMove gNaturePowerMoveTable[10]; extern u8 gUnknown_202DE58[]; diff --git a/src/status_actions.c b/src/status_actions.c index 0f888366b..28e28fbac 100644 --- a/src/status_actions.c +++ b/src/status_actions.c @@ -162,7 +162,7 @@ struct NaturePowerMove u16 unk2; MoveCallback move; }; -struct NaturePowerMove gUnknown_80F59C8[10]; +extern struct NaturePowerMove gUnknown_80F59C8[10]; bool8 sub_805AFA4(struct Entity * pokemon, struct Entity * target, struct Move *move, u32 param_4) {