#define CIRCLEQ_REMOVE ( head,
elm,
field   ) 

Value:

do {                            \
        if ((elm)->field.cqe_next == (void *)(head))                    \
                (head)->cqh_last = (elm)->field.cqe_prev;               \
        else                                                            \
                (elm)->field.cqe_next->field.cqe_prev =                 \
                    (elm)->field.cqe_prev;                              \
        if ((elm)->field.cqe_prev == (void *)(head))                    \
                (head)->cqh_first = (elm)->field.cqe_next;              \
        else                                                            \
                (elm)->field.cqe_prev->field.cqe_next =                 \
                    (elm)->field.cqe_next;                              \
} while (0)

Definition at line 261 of file queue.h.


Generated on Sun Jun 8 10:56:55 2008 for GNUmifluz by  doxygen 1.5.5