From e39e3466d2d38cdfe83447f391b550e607bc3ce8 Mon Sep 17 00:00:00 2001 From: Jozsef Kadlecsik Date: Sun, 20 Nov 2022 22:43:59 +0100 Subject: Fix all debug mode warnings --- include/libipset/list_sort.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include/libipset/list_sort.h') diff --git a/include/libipset/list_sort.h b/include/libipset/list_sort.h index 70bb02d..d9d7b36 100644 --- a/include/libipset/list_sort.h +++ b/include/libipset/list_sort.h @@ -61,7 +61,7 @@ static inline void list_del(struct list_head *entry) // entry->prev = (void *) 0; } -static inline void __list_splice(const struct list_head *list, +static inline void __list_splice(struct list_head *list, struct list_head *prev, struct list_head *next) { @@ -75,7 +75,7 @@ static inline void __list_splice(const struct list_head *list, next->prev = last; } -static inline void list_splice(const struct list_head *list, +static inline void list_splice(struct list_head *list, struct list_head *head) { if (!list_empty(list)) -- cgit v1.2.3