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 --- firmware/thread.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'firmware/thread.c') diff --git a/firmware/thread.c b/firmware/thread.c index 81ef42a6b0..7c2cfb23e9 100644 --- a/firmware/thread.c +++ b/firmware/thread.c @@ -119,7 +119,7 @@ /* Cast to the the machine pointer size, whose size could be < 4 or > 32 * (someday :). */ #define DEADBEEF ((uintptr_t)0xdeadbeefdeadbeefull) -struct core_entry cores[NUM_CORES] IBSS_ATTR; +static struct core_entry cores[NUM_CORES] IBSS_ATTR; struct thread_entry threads[MAXTHREADS] IBSS_ATTR; static const char main_thread_name[] = "main"; -- cgit v1.2.3