mirror of
https://github.com/opnsense/src.git
synced 2026-06-04 22:32:43 -04:00
Typesetting fix for -r1.137.
If a tail queue is empty the return value of TAILQ_LAST is not undefined, it is NULL. Submitted by: Ruslan Ermilov <ru@FreeBSD.org>
This commit is contained in:
parent
60a5289836
commit
982ba1cb7e
1 changed files with 4 additions and 2 deletions
|
|
@ -538,7 +538,8 @@ after the element
|
|||
The macro
|
||||
.Nm STAILQ_LAST
|
||||
returns the last item on the tail queue.
|
||||
If the tail queue is empty the return value is NULL.
|
||||
If the tail queue is empty the return value is
|
||||
.Dv NULL .
|
||||
.Pp
|
||||
The macro
|
||||
.Nm STAILQ_NEXT
|
||||
|
|
@ -899,7 +900,8 @@ before the element
|
|||
The macro
|
||||
.Nm TAILQ_LAST
|
||||
returns the last item on the tail queue.
|
||||
If the tail queue is empty the return value is NULL.
|
||||
If the tail queue is empty the return value is
|
||||
.Dv NULL .
|
||||
.Pp
|
||||
The macro
|
||||
.Nm TAILQ_NEXT
|
||||
|
|
|
|||
Loading…
Reference in a new issue