Rev 4446 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 4446 | Rev 6133 | ||
---|---|---|---|
Line 36... | Line 36... | ||
36 | link->prev->next = link->next; |
36 | link->prev->next = link->next; |
37 | link_initialize(link); |
37 | link_initialize(link); |
38 | } |
38 | } |
39 | 39 | ||
Line 40... | Line 40... | ||
40 | static inline int list_empty(link_t *head) |
40 | static inline int llist_empty(link_t *head) |
41 | { |
41 | { |
42 | return head->next == head ? 1 : 0; |
42 | return head->next == head ? 1 : 0; |
43 | } |
43 | } |
Line 44... | Line 44... | ||
44 | 44 |