summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--apps/plugin.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/plugin.c b/apps/plugin.c
index 912445ffe4..d1b369ff77 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);