[include/rtthread.h] rt_thread_close函数声明应当与RT_USING_HEAP无关

This commit is contained in:
Yang Xijing 2024-05-11 23:51:51 +08:00 committed by Meco Man
parent 634f50572e
commit f55187f830
1 changed files with 1 additions and 1 deletions

View File

@ -160,8 +160,8 @@ rt_thread_t rt_thread_create(const char *name,
rt_uint8_t priority, rt_uint8_t priority,
rt_uint32_t tick); rt_uint32_t tick);
rt_err_t rt_thread_delete(rt_thread_t thread); rt_err_t rt_thread_delete(rt_thread_t thread);
rt_err_t rt_thread_close(rt_thread_t thread);
#endif /* RT_USING_HEAP */ #endif /* RT_USING_HEAP */
rt_err_t rt_thread_close(rt_thread_t thread);
rt_thread_t rt_thread_self(void); rt_thread_t rt_thread_self(void);
rt_thread_t rt_thread_find(char *name); rt_thread_t rt_thread_find(char *name);
rt_err_t rt_thread_startup(rt_thread_t thread); rt_err_t rt_thread_startup(rt_thread_t thread);