1 #include <ccan/tlist2/tlist2.h>
10 struct list_node list;
13 int main(int argc, char *argv[])
15 TLIST2(struct child, list) children;
16 struct child child = { "child" };
23 tlist2_init(&children);
24 tlist2_add(&children, &child);
26 c = tlist2_top(&children);
27 (void) c; /* Suppress unused-but-set-variable warning. */