From ecbc4a7572cb67802b1cb99d8914c19f1fb4f2c4 Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Sat, 1 Apr 2023 14:45:15 -0400 Subject: list: Fix a typo in SLIST_REMOVE() --- src/list.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/list.h b/src/list.h index 95917e7..08f97ab 100644 --- a/src/list.h +++ b/src/list.h @@ -239,7 +239,7 @@ * @param link (optional) * If specified, use item->link.next rather than item->next. */ -#define SLIST_REMOVE(list, ...) SLIST_REMOVE_(__VA_ARGS__, ) +#define SLIST_REMOVE(list, ...) SLIST_REMOVE_(list, __VA_ARGS__, ) #define SLIST_REMOVE_(list, ptr, ...) \ LIST_BLOCK_(SLIST_REMOVE__((list), (ptr), LIST_NEXT_(__VA_ARGS__))) -- cgit v1.2.3