diff options
Diffstat (limited to 'apps/plugins/starfield.c')
-rw-r--r-- | apps/plugins/starfield.c | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/apps/plugins/starfield.c b/apps/plugins/starfield.c index 407e79f3c1..750c59fe41 100644 --- a/apps/plugins/starfield.c +++ b/apps/plugins/starfield.c | |||
@@ -19,6 +19,8 @@ | |||
19 | 19 | ||
20 | #ifdef HAVE_LCD_BITMAP /* and also not for the Player */ | 20 | #ifdef HAVE_LCD_BITMAP /* and also not for the Player */ |
21 | 21 | ||
22 | PLUGIN_HEADER | ||
23 | |||
22 | /******************************* Globals ***********************************/ | 24 | /******************************* Globals ***********************************/ |
23 | 25 | ||
24 | static struct plugin_api* rb; /* global api struct pointer */ | 26 | static struct plugin_api* rb; /* global api struct pointer */ |
@@ -251,13 +253,6 @@ int plugin_main(void) | |||
251 | enum plugin_status plugin_start(struct plugin_api* api, void* parameter) | 253 | enum plugin_status plugin_start(struct plugin_api* api, void* parameter) |
252 | { | 254 | { |
253 | int ret; | 255 | int ret; |
254 | /* | ||
255 | * this macro should be called as the first thing you do in the plugin. | ||
256 | * it test that the api version and model the plugin was compiled for | ||
257 | * matches the machine it is running on | ||
258 | */ | ||
259 | |||
260 | TEST_PLUGIN_API(api); | ||
261 | 256 | ||
262 | rb = api; // copy to global api pointer | 257 | rb = api; // copy to global api pointer |
263 | (void)parameter; | 258 | (void)parameter; |