From d9af87c40b3a613a7a2a312d4529e566d0565a2c Mon Sep 17 00:00:00 2001 From: Thomas Martitz Date: Fri, 16 Apr 2010 22:01:59 +0000 Subject: Use API call instead of accessing a global variable for receiving the current thread. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25657 a1c6a512-1295-4272-9138-f99709370657 --- uisimulator/sdl/thread-sdl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'uisimulator/sdl/thread-sdl.c') diff --git a/uisimulator/sdl/thread-sdl.c b/uisimulator/sdl/thread-sdl.c index ef7c86c3b4..e9b5fc205d 100644 --- a/uisimulator/sdl/thread-sdl.c +++ b/uisimulator/sdl/thread-sdl.c @@ -50,7 +50,7 @@ static char __name[32]; ({ fprintf(stderr, str); exit(-1); }) /* Thread/core entries as in rockbox core */ -struct core_entry cores[NUM_CORES]; +static struct core_entry cores[NUM_CORES]; struct thread_entry threads[MAXTHREADS]; /* Jump buffers for graceful exit - kernel threads don't stay neatly * in their start routines responding to messages so this is the only -- cgit v1.2.3