diff options
author | Thomas Martitz <kugel@rockbox.org> | 2012-01-22 19:38:56 +0100 |
---|---|---|
committer | Thomas Martitz <kugel@rockbox.org> | 2012-01-22 19:38:56 +0100 |
commit | ec36357e8fc59552a66d7ec5b46f2504721e9800 (patch) | |
tree | e8164618247f93ba674243d72aafa67f9dd54512 /firmware | |
parent | 3520d7f85594432e8bff229147674ae488b8f61b (diff) | |
download | rockbox-ec36357e8fc59552a66d7ec5b46f2504721e9800.tar.gz rockbox-ec36357e8fc59552a66d7ec5b46f2504721e9800.zip |
Fix sdl build warnings
Change-Id: I3e85c63ce246b93572f856b364c9e2ff1b53e52f
Diffstat (limited to 'firmware')
-rw-r--r-- | firmware/target/hosted/sdl/system-sdl.h | 6 |
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 | ||
45 | void 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 | ||
46 | void sim_enter_irq_handler(void); | 52 | void sim_enter_irq_handler(void); |