Manpage incorrectly states that STAILQ_REMOVE_HEAD takes an arg
called 'elm'. It doesn't take an arg 'elm', it simply removes the element at the head of the list.
This commit is contained in:
parent
6286dfe072
commit
ce900f0398
@ -540,9 +540,7 @@ returns the next item on the tail queue, or NULL this item is the last.
|
||||
.Pp
|
||||
The macro
|
||||
.Nm STAILQ_REMOVE_HEAD
|
||||
removes the element
|
||||
.Fa elm
|
||||
from the head of the tail queue.
|
||||
removes the element at the head of the tail queue.
|
||||
For optimum efficiency,
|
||||
elements being removed from the head of the tail queue should
|
||||
use this macro explicitly rather than the generic
|
||||
|
Loading…
x
Reference in New Issue
Block a user