1 #include <ccan/tlist/tlist.h>
3 TLIST_TYPE(children, struct child);
12 struct list_node list;
15 int main(int argc, char *argv[])
17 struct tlist_children children;
18 struct child child = { "child" };
25 tlist_init(&children);
26 tlist_add(&children, &child, list);
28 c = tlist_top(&children, list);
29 (void) c; /* Suppress unused-but-set-variable warning. */