summaryrefslogtreecommitdiffstats
path: root/uisimulator/sdl/thread-sdl.c
diff options
context:
space:
mode:
Diffstat (limited to 'uisimulator/sdl/thread-sdl.c')
-rw-r--r--uisimulator/sdl/thread-sdl.c12
1 files changed, 6 insertions, 6 deletions
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();