提交 e19102ed 编写于 作者: B bernard.xiong@gmail.com

remove rt_list_isempty function.

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2006 bbd45198-f89e-11dd-88c7-29a3b14d5316
上级 0f519b67
......@@ -30,13 +30,6 @@
#include <rtthread.h>
#include "finsh.h"
// Copy from kservice.h because we can not use it out of the kernel.
// Ugly. Should let kservice.h available for applications?
rt_inline int rt_list_isempty(const rt_list_t *l)
{
return l->next == l;
}
rt_inline unsigned int rt_list_len(const rt_list_t *l)
{
unsigned int len = 0;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册