From 8300d8c194d66384d376c951cef1159438e28f0f Mon Sep 17 00:00:00 2001 From: Daniel Ankers Date: Sun, 3 Sep 2006 21:00:19 +0000 Subject: Oops - fix warnings and add a simulator version of remove_thread_on_core() git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10876 a1c6a512-1295-4272-9138-f99709370657 --- uisimulator/sdl/thread-sdl.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'uisimulator/sdl/thread-sdl.c') diff --git a/uisimulator/sdl/thread-sdl.c b/uisimulator/sdl/thread-sdl.c index 0ddf37a5a0..041ca3153d 100644 --- a/uisimulator/sdl/thread-sdl.c +++ b/uisimulator/sdl/thread-sdl.c @@ -58,12 +58,6 @@ int runthread(void *data) return 0; } -int create_thread_on_core(void (*core)(void), void (*fp)(void), void* sp, int stk_size) -{ - (void)core; - return create_thread(fp, sp, stk_size); -} - int create_thread(void (*fp)(void), void* sp, int stk_size) { /** Avoid compiler warnings */ @@ -81,6 +75,12 @@ int create_thread(void (*fp)(void), void* sp, int stk_size) return 0; } +int create_thread_on_core(void (*core)(void), void (*fp)(void), void* sp, int stk_size) +{ + (void)core; + return create_thread(fp, sp, stk_size); +} + void init_threads(void) { m = SDL_CreateMutex(); -- cgit v1.2.3