summaryrefslogtreecommitdiff
path: root/apps/plugins/chip8.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/chip8.c')
-rw-r--r--apps/plugins/chip8.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/apps/plugins/chip8.c b/apps/plugins/chip8.c
index 56ce12a388..50e32ed90b 100644
--- a/apps/plugins/chip8.c
+++ b/apps/plugins/chip8.c
@@ -22,6 +22,8 @@
22/* Only build for (correct) target */ 22/* Only build for (correct) target */
23#ifdef HAVE_LCD_BITMAP 23#ifdef HAVE_LCD_BITMAP
24 24
25PLUGIN_HEADER
26
25static struct plugin_api* rb; /* here is a global api struct pointer */ 27static struct plugin_api* rb; /* here is a global api struct pointer */
26 28
27#define EXTERN static 29#define EXTERN static
@@ -1276,10 +1278,6 @@ enum plugin_status plugin_start(struct plugin_api* api, void* parameter)
1276{ 1278{
1277 char* filename; 1279 char* filename;
1278 1280
1279 /* this macro should be called as the first thing you do in the plugin.
1280 it test that the api version and model the plugin was compiled for
1281 matches the machine it is running on */
1282 TEST_PLUGIN_API(api);
1283 rb = api; /* copy to global api pointer */ 1281 rb = api; /* copy to global api pointer */
1284 1282
1285 if (parameter == NULL) 1283 if (parameter == NULL)