summaryrefslogtreecommitdiff
path: root/apps/plugin.c
diff options
context:
space:
mode:
authorJörg Hohensohn <hohensoh@rockbox.org>2004-05-01 15:45:01 +0000
committerJörg Hohensohn <hohensoh@rockbox.org>2004-05-01 15:45:01 +0000
commit4d0a72574d1315552ded54eae594b9ea4b5f981d (patch)
tree92a9e58400bc59f59ea1ef1b45c416573249dc08 /apps/plugin.c
parent72e08fb838f4277e86b10067b5215551b5bb5c8d (diff)
downloadrockbox-4d0a72574d1315552ded54eae594b9ea4b5f981d.zip
rockbox-4d0a72574d1315552ded54eae594b9ea4b5f981d.tar.gz
rockbox-4d0a72574d1315552ded54eae594b9ea4b5f981d.tar.bz2
rockbox-4d0a72574d1315552ded54eae594b9ea4b5f981d.tar.xz
fix a simulator warning
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4571 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugin.c')
-rw-r--r--apps/plugin.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/plugin.c b/apps/plugin.c
index 912445f..d1b369f 100644
--- a/apps/plugin.c
+++ b/apps/plugin.c
@@ -68,7 +68,9 @@ extern void bitswap(unsigned char *data, int length);
static bool plugin_loaded = false;
static int plugin_size = 0;
+#ifndef SIMULATOR
static void (*pfn_timer)(void) = NULL; /* user timer handler */
+#endif
static void (*pfn_tsr_exit)(void) = NULL; /* TSR exit callback */
static int plugin_test(int api_version, int model, int memsize);