summaryrefslogtreecommitdiff
path: root/src/item.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/item.c')
-rw-r--r--src/item.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/item.c b/src/item.c
index 8bc0cf0f0..3f74b5925 100644
--- a/src/item.c
+++ b/src/item.c
@@ -1,5 +1,5 @@
#include "global.h"
-#include "berry.h"
+#include "item.h"
#include "string_util.h"
extern struct Berry *GetBerryInfo(u8 berry);
@@ -7,8 +7,6 @@ extern struct Berry *GetBerryInfo(u8 berry);
extern u8 gOtherText_Berry2[];
extern u8 gUnknown_02038560;
-typedef void (*ItemUseFunc)(u8);
-
struct Item
{
u8 name[14];
@@ -46,8 +44,6 @@ enum
KEYITEMS_POCKET
};
-struct Item *ItemId_GetItem(u16);
-u8 ItemId_GetPocket(u16);
static void CompactPCItems(void);
void CopyItemName(u16 itemId, u8 *string)
@@ -62,7 +58,7 @@ void CopyItemName(u16 itemId, u8 *string)
}
//Unreferenced
-static s8 CountUsedBagPocketSlots(u8 pocket)
+s8 CountUsedBagPocketSlots(u8 pocket)
{
u8 i;