From 1bad055d2a1d760738ed0cbc5bfad0eb6b876955 Mon Sep 17 00:00:00 2001 From: Jörg Hohensohn Date: Sat, 1 May 2004 15:14:09 +0000 Subject: fix red and yellow git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4569 a1c6a512-1295-4272-9138-f99709370657 --- apps/plugin.c | 4 +++- apps/plugin.h | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) (limited to 'apps') diff --git a/apps/plugin.c b/apps/plugin.c index f70b648a49..912445ffe4 100644 --- a/apps/plugin.c +++ b/apps/plugin.c @@ -221,6 +221,9 @@ int plugin_load(char* plugin, void* parameter) #else int fd; #endif +#ifdef HAVE_LCD_BITMAP + int xm,ym; +#endif if (pfn_tsr_exit != NULL) /* if we have a resident old plugin: */ { @@ -229,7 +232,6 @@ int plugin_load(char* plugin, void* parameter) } #ifdef HAVE_LCD_BITMAP - int xm,ym; lcd_clear_display(); xm = lcd_getxmargin(); ym = lcd_getymargin(); diff --git a/apps/plugin.h b/apps/plugin.h index 2da469f004..845db14cef 100644 --- a/apps/plugin.h +++ b/apps/plugin.h @@ -217,7 +217,7 @@ struct plugin_api { #endif void (*plugin_tsr)(void (*exit_callback)(void)); int (*create_thread)(void* function, void* stack, int stack_size, char *name); - void (*remove_tread)(void); + void (*remove_tread)(int threadnum); void (*lcd_set_contrast)(int x); /* playback control */ -- cgit v1.2.3