1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-26 11:47:31 +00:00
freebsd/share/man
Ed Schouten e2fd72de44 Introduce REMOVE_NEXT() macro's for SLIST and STAILQ.
Even though single linked lists allow items to be removed at constant time
(when the previous element is known), the queue macro's don't allow this.
Implement new REMOVE_NEXT() macro's. Because the REMOVE() macro's also
contain the same code, make it call REMOVE_NEXT().

The OpenBSD version of SLIST_REMOVE_NEXT() needs a reference to the list
head, even though it is unused. We'd better mimic this. The STAILQ version
also needs a reference to the list. This means the prototypes of both
macro's are the same.

Approved by:	philip (mentor)
PR:		kern/121117
2008-05-22 14:40:03 +00:00
..
man1 Fix markup. 2006-12-26 22:25:58 +00:00
man3 Introduce REMOVE_NEXT() macro's for SLIST and STAILQ. 2008-05-22 14:40:03 +00:00
man4 Document the azp for controlling audio power 2008-05-20 06:33:10 +00:00
man5 Add support for specifying which INDEX files to build via portsnap.conf. 2008-05-17 16:26:27 +00:00
man6
man7 Fix some "in in" typos in comments. 2008-03-26 07:32:08 +00:00
man8 Fix punctiation. 2008-03-31 14:11:37 +00:00
man9 Generalize vm_map_find(9)'s parameter "find_space". Specifically, add 2008-05-10 18:55:35 +00:00
Makefile