summaryrefslogtreecommitdiff
path: root/firmware/target/hosted/sdl
diff options
context:
space:
mode:
authorThomas Jarosch <tomj@simonv.com>2011-03-01 20:31:20 +0000
committerThomas Jarosch <tomj@simonv.com>2011-03-01 20:31:20 +0000
commitacd8bffb9576432cb52c6c325da74192a30bae67 (patch)
tree0374b5422ae31493abd8060c18178b3b1aec2494 /firmware/target/hosted/sdl
parent0f68a91bc567083ff8956e5cd68536728888e696 (diff)
Expose sys_poweroff() and cancel_shutdown() to RaaA. Hopefully fixes android build
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29485 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target/hosted/sdl')
-rw-r--r--firmware/target/hosted/sdl/system-sdl.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/firmware/target/hosted/sdl/system-sdl.c b/firmware/target/hosted/sdl/system-sdl.c
index 0b487d0c2b..750a0144a4 100644
--- a/firmware/target/hosted/sdl/system-sdl.c
+++ b/firmware/target/hosted/sdl/system-sdl.c
@@ -71,12 +71,6 @@ bool debug_audio = false;
bool debug_wps = false;
int wps_verbose_level = 3;
-void sys_poweroff(void)
-{
- /* Post SYS_POWEROFF event. Will post SDL_USEREVENT in shutdown_hw() if successful. */
- queue_broadcast(SYS_POWEROFF, 0);
-}
-
/*
* This thread will read the buttons in an interrupt like fashion, and
* also initializes SDL_INIT_VIDEO and the surfaces