Home
last modified time | relevance | path

Searched refs:elt (Results 1 – 1 of 1) sorted by relevance

/bionic/libc/upstream-netbsd/lib/libc/include/isc/
Dlist.h29 #define INIT_LINK_TYPE(elt, link, type) \ argument
31 (elt)->link.prev = (type *)(-1); \
32 (elt)->link.next = (type *)(-1); \
34 #define INIT_LINK(elt, link) \ argument
35 INIT_LINK_TYPE(elt, link, void)
36 #define LINKED(elt, link) ((void *)((elt)->link.prev) != (void *)(-1) && \ argument
37 (void *)((elt)->link.next) != (void *)(-1))
43 #define PREPEND(list, elt, link) \ argument
45 INSIST(!LINKED(elt, link));\
47 (list).head->link.prev = (elt); \
[all …]