Skip to content

Commit f55187f

Browse files
xmaowumysterywolf
authored andcommitted
[include/rtthread.h] rt_thread_close函数声明应当与RT_USING_HEAP无关
1 parent 634f505 commit f55187f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/rtthread.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -160,8 +160,8 @@ rt_thread_t rt_thread_create(const char *name,
160160
rt_uint8_t priority,
161161
rt_uint32_t tick);
162162
rt_err_t rt_thread_delete(rt_thread_t thread);
163-
rt_err_t rt_thread_close(rt_thread_t thread);
164163
#endif /* RT_USING_HEAP */
164+
rt_err_t rt_thread_close(rt_thread_t thread);
165165
rt_thread_t rt_thread_self(void);
166166
rt_thread_t rt_thread_find(char *name);
167167
rt_err_t rt_thread_startup(rt_thread_t thread);

0 commit comments

Comments
 (0)