Makes the patch_list struct opaque Signed-off-by: Kris Bahnsen <Kris@KBEmbedded.com>
@@ -7,10 +7,7 @@
#include <src/include/pokemon_app.h>
#include <src/include/pokemon_data.h>
-struct patch_list {
- uint8_t index;
- struct patch_list* next;
-};
+struct patch_list;
struct patch_list* plist_alloc(void);
@@ -1,5 +1,9 @@
-#include <src/views/trade_patch_list.h>
+
+struct patch_list {
+ uint8_t index;
+ struct patch_list* next;
+};
struct patch_list* plist_alloc(void) {
struct patch_list* plist = NULL;
@@ -99,7 +99,7 @@
+#include <src/include/patch_list.h>
/* Uncomment the following line to enable graphics testing for the different
* phases of the trade view. Pressing the okay button will step through each