diff options
author | Thomas Martitz <kugel@rockbox.org> | 2010-04-16 22:01:59 +0000 |
---|---|---|
committer | Thomas Martitz <kugel@rockbox.org> | 2010-04-16 22:01:59 +0000 |
commit | d9af87c40b3a613a7a2a312d4529e566d0565a2c (patch) | |
tree | 5122aa3ee6af0984684644f872b1af850b78cc2e /uisimulator/sdl/thread-sdl.c | |
parent | da018391e0b7756eba9655384e9cf3683d133361 (diff) | |
download | rockbox-d9af87c40b3a613a7a2a312d4529e566d0565a2c.tar.gz rockbox-d9af87c40b3a613a7a2a312d4529e566d0565a2c.zip |
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
Diffstat (limited to 'uisimulator/sdl/thread-sdl.c')
-rw-r--r-- | uisimulator/sdl/thread-sdl.c | 2 |
1 files changed, 1 insertions, 1 deletions
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]; | |||
50 | ({ fprintf(stderr, str); exit(-1); }) | 50 | ({ fprintf(stderr, str); exit(-1); }) |
51 | 51 | ||
52 | /* Thread/core entries as in rockbox core */ | 52 | /* Thread/core entries as in rockbox core */ |
53 | struct core_entry cores[NUM_CORES]; | 53 | static struct core_entry cores[NUM_CORES]; |
54 | struct thread_entry threads[MAXTHREADS]; | 54 | struct thread_entry threads[MAXTHREADS]; |
55 | /* Jump buffers for graceful exit - kernel threads don't stay neatly | 55 | /* Jump buffers for graceful exit - kernel threads don't stay neatly |
56 | * in their start routines responding to messages so this is the only | 56 | * in their start routines responding to messages so this is the only |