summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorJozsef Kadlecsik <kadlec@netfilter.org>2022-11-20 22:43:59 +0100
committerJozsef Kadlecsik <kadlec@netfilter.org>2022-11-20 22:43:59 +0100
commite39e3466d2d38cdfe83447f391b550e607bc3ce8 (patch)
treef37b4f28d452899d3247d5a03fdb77dbbaf70052 /include
parent31fc637c92b83ba75917539015b80b5d91aa2216 (diff)
Fix all debug mode warnings
Diffstat (limited to 'include')
-rw-r--r--include/libipset/list_sort.h4
1 files changed, 2 insertions, 2 deletions
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))