summaryrefslogtreecommitdiff
path: root/apps/plugins/starfield.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/starfield.c')
-rw-r--r--apps/plugins/starfield.c9
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
22PLUGIN_HEADER
23
22/******************************* Globals ***********************************/ 24/******************************* Globals ***********************************/
23 25
24static struct plugin_api* rb; /* global api struct pointer */ 26static struct plugin_api* rb; /* global api struct pointer */
@@ -251,13 +253,6 @@ int plugin_main(void)
251enum plugin_status plugin_start(struct plugin_api* api, void* parameter) 253enum 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;