diff options
Diffstat (limited to 'apps/plugins/euroconverter.c')
-rw-r--r-- | apps/plugins/euroconverter.c | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/apps/plugins/euroconverter.c b/apps/plugins/euroconverter.c index 827c7db586..a9ec72d2b3 100644 --- a/apps/plugins/euroconverter.c +++ b/apps/plugins/euroconverter.c | |||
@@ -143,8 +143,6 @@ static unsigned char *abbrev_str[12] = { | |||
143 | 143 | ||
144 | static unsigned long heuro,hhome; /*Handles for the new patterns*/ | 144 | static unsigned long heuro,hhome; /*Handles for the new patterns*/ |
145 | 145 | ||
146 | static const struct plugin_api* rb; | ||
147 | |||
148 | static char *currency_str[12] = { | 146 | static char *currency_str[12] = { |
149 | "France", | 147 | "France", |
150 | "Germany", | 148 | "Germany", |
@@ -405,7 +403,7 @@ static void euro_exit(void *parameter) | |||
405 | 403 | ||
406 | 404 | ||
407 | /* this is the plugin entry point */ | 405 | /* this is the plugin entry point */ |
408 | enum plugin_status plugin_start(const struct plugin_api* api, const void* parameter) | 406 | enum plugin_status plugin_start(const void* parameter) |
409 | { | 407 | { |
410 | bool end, pos; | 408 | bool end, pos; |
411 | longlong_t e,h,old_e,old_h; | 409 | longlong_t e,h,old_e,old_h; |
@@ -415,10 +413,6 @@ enum plugin_status plugin_start(const struct plugin_api* api, const void* parame | |||
415 | this to avoid the compiler warning about it */ | 413 | this to avoid the compiler warning about it */ |
416 | (void)parameter; | 414 | (void)parameter; |
417 | 415 | ||
418 | /* if you are using a global api pointer, don't forget to copy it! | ||
419 | otherwise you will get lovely "I04: IllInstr" errors... :-) */ | ||
420 | rb = api; | ||
421 | |||
422 | /*Get the pattern handle*/ | 416 | /*Get the pattern handle*/ |
423 | heuro=rb->lcd_get_locked_pattern(); | 417 | heuro=rb->lcd_get_locked_pattern(); |
424 | hhome=rb->lcd_get_locked_pattern(); | 418 | hhome=rb->lcd_get_locked_pattern(); |
@@ -433,8 +427,6 @@ enum plugin_status plugin_start(const struct plugin_api* api, const void* parame | |||
433 | cur_pos=3; | 427 | cur_pos=3; |
434 | inc=100000; | 428 | inc=100000; |
435 | 429 | ||
436 | configfile_init(rb); | ||
437 | |||
438 | load_config(); | 430 | load_config(); |
439 | 431 | ||
440 | /*Empty the event queue*/ | 432 | /*Empty the event queue*/ |