diff options
author | Tavian Barnes <tavianator@tavianator.com> | 2023-04-01 14:45:15 -0400 |
---|---|---|
committer | Tavian Barnes <tavianator@tavianator.com> | 2023-04-01 14:45:15 -0400 |
commit | ecbc4a7572cb67802b1cb99d8914c19f1fb4f2c4 (patch) | |
tree | da1fa8744fc5459c230967ecd9f6c62f33985f78 | |
parent | 10e8327badb15bd8dd229a7a25bdcd28c5629e1c (diff) | |
download | bfs-ecbc4a7572cb67802b1cb99d8914c19f1fb4f2c4.tar.xz |
list: Fix a typo in SLIST_REMOVE()
-rw-r--r-- | src/list.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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__))) |