list: refactor lif_list_free_nodes() a bit

This commit is contained in:
Ariadne Conill 2020-07-28 17:53:48 -04:00
parent 58816712c6
commit cfbfa07e85
3 changed files with 9 additions and 10 deletions

View file

@ -30,7 +30,7 @@ struct lif_list {
size_t length;
};
extern void lif_list_free_nodes(struct lif_list **list);
extern void lif_list_free_nodes(struct lif_list *list);
extern void lif_node_insert(struct lif_node *node, void *data, struct lif_list *list);
extern void lif_node_insert_tail(struct lif_node *node, void *data, struct lif_list *list);