diff options
| author | Bernard Xiong <[email protected]> | 2016-04-05 14:40:49 +0800 |
|---|---|---|
| committer | Bernard Xiong <[email protected]> | 2016-04-05 14:40:49 +0800 |
| commit | 49b1172b8d8e38d52dac79bbd87ae40c68d7d742 (patch) | |
| tree | b953d36e9d52d83054e2a4634d4ab1fc236dad22 /src/thread.c | |
| parent | 048ffb481aff7a3d5a7cbb9bcaa49ec3f4bc131c (diff) | |
[Kernel] change rt_thread_exit() as a global function.
Diffstat (limited to 'src/thread.c')
| -rw-r--r-- | src/thread.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |
