Name change suggested by Justin (QUEUE->UNTIL)

This commit is contained in:
Nick Hibma 1999-01-07 22:27:53 +00:00
parent 6143bceb3f
commit 002ad23e7a

View File

@ -31,7 +31,7 @@
* SUCH DAMAGE. * SUCH DAMAGE.
* *
* @(#)queue.h 8.5 (Berkeley) 8/20/94 * @(#)queue.h 8.5 (Berkeley) 8/20/94
* $Id: queue.h,v 1.22 1998/06/24 20:51:09 phk Exp $ * $Id: queue.h,v 1.23 1999/01/06 20:03:11 n_hibma Exp $
*/ */
#ifndef _SYS_QUEUE_H_ #ifndef _SYS_QUEUE_H_
@ -218,7 +218,7 @@ struct { \
(head)->stqh_last = &(head)->stqh_first; \ (head)->stqh_last = &(head)->stqh_first; \
} while (0) } while (0)
#define STAILQ_REMOVE_HEAD_QUEUE(head, elm, field) do { \ #define STAILQ_REMOVE_HEAD_UNTIL(head, elm, field) do { \
if (((head)->stqh_first = (elm)->field.stqe_next) == NULL) \ if (((head)->stqh_first = (elm)->field.stqe_next) == NULL) \
(head)->stqh_last = &(head)->stqh_first; \ (head)->stqh_last = &(head)->stqh_first; \
} while (0) } while (0)