diff options
author | jhb <jhb@FreeBSD.org> | 2000-03-27 13:26:45 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2000-03-27 13:26:45 +0000 |
commit | 91203ebc060c30cf4c190e380ffac543088bc44c (patch) | |
tree | 08577738a8bdf3e6b603f50c677811090c6973ec /share | |
parent | 5f2d618ecb2e12499e6cd21212bc033a32ae3471 (diff) | |
download | FreeBSD-src-91203ebc060c30cf4c190e380ffac543088bc44c.zip FreeBSD-src-91203ebc060c30cf4c190e380ffac543088bc44c.tar.gz |
Update STAILQ example to use STAILQ_REMOVE_HEAD instead of
TAILQ_REMOVE_HEAD.
PR: docs/17590
Submitted by: Benno Rice <benno@netizen.com.au>
Diffstat (limited to 'share')
-rw-r--r-- | share/man/man3/queue.3 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/share/man/man3/queue.3 b/share/man/man3/queue.3 index fecd69d..b1769db 100644 --- a/share/man/man3/queue.3 +++ b/share/man/man3/queue.3 @@ -564,7 +564,7 @@ STAILQ_FOREACH(np, &head, entries) /* TailQ Deletion. */ while (!STAILQ_EMPTY(&head)) { n1 = STAILQ_HEAD(&head); - TAILQ_REMOVE_HEAD(&head, entries); + STAILQ_REMOVE_HEAD(&head, entries); free(n1); } /* Faster TailQ Deletion. */ |