Thread (6 messages) 6 messages, 2 authors, 2025-04-20

[PATCH] man/man3/slist.3: Add missing argument

From: Solomon T <hidden>
Date: 2025-04-20 12:47:43
Subsystem: the rest · Maintainer: Linus Torvalds

`SLIST_REMOVAL` has four arguments. This commit adds in the missing argument.

Fixes: bb8164dec0c4 (2020-10-22; "slist.3: ffix: Use man markup")

Signed-off-by: Solomon T <redacted>
---
 man/man3/slist.3 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/man/man3/slist.3 b/man/man3/slist.3
index 50cd1d452..ff68e72d6 100644
--- a/man/man3/slist.3
+++ b/man/man3/slist.3
@@ -57,7 +57,7 @@ Standard C library
 .\" .BI "SLIST_FOREACH_FROM_SAFE(struct TYPE *" var ", SLIST_HEAD *" head ,
 .\" .BI "                        SLIST_ENTRY " NAME ", struct TYPE *" temp_var );
 .P
-.BI "void SLIST_REMOVE(SLIST_HEAD *" head ", struct TYPE *" elm ,
+.BI "void SLIST_REMOVE(SLIST_HEAD *" head ", struct TYPE *" elm ", TYPE,
 .BI "                        SLIST_ENTRY " NAME );
 .BI "void SLIST_REMOVE_HEAD(SLIST_HEAD *" head ,
 .BI "                        SLIST_ENTRY " NAME );
-- 
2.43.0
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help