From 15605360c02ca0de24bf8460d6ab518e59f8320a Mon Sep 17 00:00:00 2001 From: Maria Matejka Date: Wed, 5 Feb 2025 21:41:32 +0100 Subject: [PATCH] Tlist enlisted allows const pointer argument --- lib/tlists.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/tlists.h b/lib/tlists.h index a652ba503..fc74fe5be 100644 --- a/lib/tlists.h +++ b/lib/tlists.h @@ -78,7 +78,7 @@ TLIST_STRUCT_DEF(TLIST_PREFIX, TLIST_TYPE); #endif -static inline TLIST_LIST_STRUCT * TLIST_NAME(enlisted)(TLIST_TYPE *node) +static inline TLIST_LIST_STRUCT * TLIST_NAME(enlisted)(const TLIST_TYPE *node) { return node->TLIST_ITEM.list; } -- 2.47.2