[Kernel] change rt_thread_exit() as a global function.
This commit is contained in:
parent
048ffb481a
commit
49b1172b8d
|
@ -44,7 +44,7 @@ extern rt_list_t rt_thread_priority_table[RT_THREAD_PRIORITY_MAX];
|
||||||
extern struct rt_thread *rt_current_thread;
|
extern struct rt_thread *rt_current_thread;
|
||||||
extern rt_list_t rt_thread_defunct;
|
extern rt_list_t rt_thread_defunct;
|
||||||
|
|
||||||
static void rt_thread_exit(void)
|
void rt_thread_exit(void)
|
||||||
{
|
{
|
||||||
struct rt_thread *thread;
|
struct rt_thread *thread;
|
||||||
register rt_base_t level;
|
register rt_base_t level;
|
||||||
|
|
Loading…
Reference in New Issue