* Initialize a singly linked list. * Previous state will be thrown away without any cleanup. */
| 570 | * Previous state will be thrown away without any cleanup. |
| 571 | */ |
| 572 | static inline void |
| 573 | slist_init(slist_head *head) |
| 574 | { |
| 575 | head->head.next = NULL; |
| 576 | } |
| 577 | |
| 578 | /* |
| 579 | * Is the list empty? |
no outgoing calls
no test coverage detected