summaryrefslogtreecommitdiff
path: root/firmware/target/hosted/sdl/system-sdl.h
diff options
context:
space:
mode:
authorThomas Martitz <kugel@rockbox.org>2012-01-22 19:38:56 +0100
committerThomas Martitz <kugel@rockbox.org>2012-01-22 19:38:56 +0100
commitec36357e8fc59552a66d7ec5b46f2504721e9800 (patch)
treee8164618247f93ba674243d72aafa67f9dd54512 /firmware/target/hosted/sdl/system-sdl.h
parent3520d7f85594432e8bff229147674ae488b8f61b (diff)
downloadrockbox-ec36357e8fc59552a66d7ec5b46f2504721e9800.tar.gz
rockbox-ec36357e8fc59552a66d7ec5b46f2504721e9800.zip
Fix sdl build warnings
Change-Id: I3e85c63ce246b93572f856b364c9e2ff1b53e52f
Diffstat (limited to 'firmware/target/hosted/sdl/system-sdl.h')
-rw-r--r--firmware/target/hosted/sdl/system-sdl.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/firmware/target/hosted/sdl/system-sdl.h b/firmware/target/hosted/sdl/system-sdl.h
index a20cbe5fac..979d556fdd 100644
--- a/firmware/target/hosted/sdl/system-sdl.h
+++ b/firmware/target/hosted/sdl/system-sdl.h
@@ -41,6 +41,12 @@ int set_irq_level(int level);
41#define restore_irq(level) \ 41#define restore_irq(level) \
42 ((void)set_irq_level(level)) 42 ((void)set_irq_level(level))
43 43
44#ifndef HAVE_SDL_THREADS
45void wait_for_interrupt(void);
46#else
47#define wait_for_interrupt()
48#endif
49
44#include "system-hosted.h" 50#include "system-hosted.h"
45 51
46void sim_enter_irq_handler(void); 52void sim_enter_irq_handler(void);