revert C99 test - typo in fallthrough macro

This commit is contained in:
2021-09-05 21:06:10 +02:00
parent dd929471f2
commit 916c67f31e
2 changed files with 2 additions and 3 deletions

View File

@@ -130,8 +130,7 @@ void list_delete(const struct list *list, const ll_data_t data)
*/
void list_destroy(struct list *list)
{
struct list_head *cur;
__typeof(cur) tmp;
struct list_head *cur, *tmp;
list_for_each_safe(cur, tmp, (struct list_head *)list)
_list_del(cur);