Get prev node.
| 37 | |
| 38 | // Get prev node. |
| 39 | static inline struct list_node *list_prev(const struct list_node *node, |
| 40 | const struct list_node *head) |
| 41 | { |
| 42 | return PREV(node) == head ? NULL : PREV(node); |
| 43 | }; |
| 44 | |
| 45 | // Get first node. |
| 46 | static inline struct list_node *list_first(const struct list_node *head) |
no outgoing calls