diff options
author | GriffinR <griffin.g.richards@gmail.com> | 2021-11-19 17:04:04 -0500 |
---|---|---|
committer | GriffinR <griffin.g.richards@gmail.com> | 2021-11-19 20:36:59 -0500 |
commit | b2c74cae8456cfa10a27a3a2d4b97971fd964b6d (patch) | |
tree | 0c98bbc5052c586cc0957ab7edad600021a9f769 /src/berry.c | |
parent | cd4462f58cce785f408af26a7a3b11ad08575a5a (diff) |
Sync global
Diffstat (limited to 'src/berry.c')
-rw-r--r-- | src/berry.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/berry.c b/src/berry.c index 680f21e3d..a2e5900a8 100644 --- a/src/berry.c +++ b/src/berry.c @@ -921,6 +921,8 @@ const struct BerryTree gBlankBerryTree = {}; berries[ITEM_ENIGMA_BERRY - FIRST_BERRY_INDEX]; \ }) +static u32 GetEnigmaBerryChecksum(struct EnigmaBerry *); + void InitEnigmaBerry(void) { s32 i; @@ -967,7 +969,7 @@ void SetEnigmaBerry(u8 * berry) enigmaBerry->checksum = GetEnigmaBerryChecksum(enigmaBerry); } -u32 GetEnigmaBerryChecksum(struct EnigmaBerry * enigmaBerry) +static u32 GetEnigmaBerryChecksum(struct EnigmaBerry * enigmaBerry) { const u8 * src = (const u8 *)enigmaBerry; u32 result = 0; |