From 49b1172b8d8e38d52dac79bbd87ae40c68d7d742 Mon Sep 17 00:00:00 2001 From: Bernard Xiong Date: Tue, 5 Apr 2016 14:40:49 +0800 Subject: [PATCH] [Kernel] change rt_thread_exit() as a global function. --- src/thread.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/thread.c b/src/thread.c index f94ad21a74..832bd7502a 100644 --- a/src/thread.c +++ b/src/thread.c @@ -44,7 +44,7 @@ extern rt_list_t rt_thread_priority_table[RT_THREAD_PRIORITY_MAX]; extern struct rt_thread *rt_current_thread; extern rt_list_t rt_thread_defunct; -static void rt_thread_exit(void) +void rt_thread_exit(void) { struct rt_thread *thread; register rt_base_t level;