summaryrefslogtreecommitdiff
path: root/apps/plugins/euroconverter.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/euroconverter.c')
-rw-r--r--apps/plugins/euroconverter.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/apps/plugins/euroconverter.c b/apps/plugins/euroconverter.c
index 3fb1e0e819..3cf36affea 100644
--- a/apps/plugins/euroconverter.c
+++ b/apps/plugins/euroconverter.c
@@ -43,6 +43,8 @@ To do:
43- The Irish currency needs 6 digits after the . to have sufficient precision on big number 43- The Irish currency needs 6 digits after the . to have sufficient precision on big number
44*/ 44*/
45 45
46PLUGIN_HEADER
47
46/* Name and path of the config file*/ 48/* Name and path of the config file*/
47static const char cfg_filename[] = "euroconverter.cfg"; 49static const char cfg_filename[] = "euroconverter.cfg";
48#define CFGFILE_VERSION 0 /* Current config file version */ 50#define CFGFILE_VERSION 0 /* Current config file version */
@@ -405,11 +407,6 @@ enum plugin_status plugin_start(struct plugin_api* api, void* parameter)
405 longlong_t e,h,old_e,old_h; 407 longlong_t e,h,old_e,old_h;
406 int button; 408 int button;
407 409
408 /* this macro should be called as the first thing you do in the plugin.
409 it test that the api version and model the plugin was compiled for
410 matches the machine it is running on */
411 TEST_PLUGIN_API(api);
412
413 /* if you don't use the parameter, you can do like 410 /* if you don't use the parameter, you can do like
414 this to avoid the compiler warning about it */ 411 this to avoid the compiler warning about it */
415 (void)parameter; 412 (void)parameter;