summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2023-04-01 14:45:15 -0400
committerTavian Barnes <tavianator@tavianator.com>2023-04-01 14:45:15 -0400
commitecbc4a7572cb67802b1cb99d8914c19f1fb4f2c4 (patch)
treeda1fa8744fc5459c230967ecd9f6c62f33985f78 /src
parent10e8327badb15bd8dd229a7a25bdcd28c5629e1c (diff)
downloadbfs-ecbc4a7572cb67802b1cb99d8914c19f1fb4f2c4.tar.xz
list: Fix a typo in SLIST_REMOVE()
Diffstat (limited to 'src')
-rw-r--r--src/list.h2
1 files changed, 1 insertions, 1 deletions
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__)))