* @brief insert a node after a list * * @param l list to insert it * @param n new node to be inserted */
| 59 | * @param n new node to be inserted |
| 60 | */ |
| 61 | rt_inline void rt_list_insert_after(rt_list_t *l, rt_list_t *n) |
| 62 | { |
| 63 | l->next->prev = n; |
| 64 | n->next = l->next; |
| 65 | |
| 66 | l->next = n; |
| 67 | n->prev = l; |
| 68 | } |
| 69 | |
| 70 | /** |
| 71 | * @brief insert a node before a list |
no outgoing calls
no test coverage detected