remove rt_list_isempty function.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2006 bbd45198-f89e-11dd-88c7-29a3b14d5316
This commit is contained in:
parent
0f519b6721
commit
e19102edd5
@ -30,13 +30,6 @@
|
|||||||
#include <rtthread.h>
|
#include <rtthread.h>
|
||||||
#include "finsh.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)
|
rt_inline unsigned int rt_list_len(const rt_list_t *l)
|
||||||
{
|
{
|
||||||
unsigned int len = 0;
|
unsigned int len = 0;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user