From a120174143a315292848f4053fbe548b76ad807d Mon Sep 17 00:00:00 2001 From: kugel Date: Mon, 17 May 2010 22:03:51 +0000 Subject: [PATCH] A bit further cleanup in system-sdl.c. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26123 a1c6a512-1295-4272-9138-f99709370657 --- firmware/target/hosted/sdl/system-sdl.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/firmware/target/hosted/sdl/system-sdl.c b/firmware/target/hosted/sdl/system-sdl.c index 649d74d94..9d529de37 100644 --- a/firmware/target/hosted/sdl/system-sdl.c +++ b/firmware/target/hosted/sdl/system-sdl.c @@ -23,9 +23,8 @@ #include #include #include -#include #include -#include "system-sdl.h" +#include "system.h" #include "thread-sdl.h" #include "sim-ui-defines.h" #include "lcd-sdl.h" @@ -168,7 +167,7 @@ void system_init(void) SDL_mutex *m; if (SDL_Init(SDL_INIT_TIMER)) panicf("%s", SDL_GetError()); - atexit(SDL_Quit); + atexit(sys_poweroff); c = SDL_CreateCond(); m = SDL_CreateMutex(); -- 2.11.4.GIT