K 10 svn:author V 2 ed K 8 svn:date V 27 2008-05-22T14:40:03.000000Z K 7 svn:log V 614 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 END