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:
Alfred Perlstein 2000-11-09 23:34:39 +00:00
parent 6286dfe072
commit ce900f0398

View File

@ -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