From a65a3d16975edb43549b9854216a090744bc987b Mon Sep 17 00:00:00 2001 From: Mathieu Maret Date: Wed, 1 Feb 2023 13:26:53 +0100 Subject: [PATCH] Correct totologic warning --- core/list.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/list.h b/core/list.h index a0ec773..5a77f76 100644 --- a/core/list.h +++ b/core/list.h @@ -75,7 +75,7 @@ #define list_add_head_named(list, item, prev, next) \ ({ \ if (list) \ - list_insert_before_named(list, list, item, prev, next); \ + __list_insert_atleft_named(list, item, prev, next); \ else \ list_singleton_named(list, item, prev, next); \ (list) = (item); \