X-Git-Url: http://git.ozlabs.org/?a=blobdiff_plain;f=ccan%2Ftlist%2F_info;h=19fc4bd9fb3d731a6127d960b8df74c272569e9d;hb=9e92552b1b2a1b631bde1c379b9f2950725b1245;hp=7586fdfc7b4d7c642525edb2c2dc04f3418c8883;hpb=c89f34afdc6c2a98c75130470ea0b7f531a3cfe0;p=ccan diff --git a/ccan/tlist/_info b/ccan/tlist/_info index 7586fdfc..19fc4bd9 100644 --- a/ccan/tlist/_info +++ b/ccan/tlist/_info @@ -1,29 +1,25 @@ +#include "config.h" #include #include -#include "config.h" /** * tlist - typesafe double linked list routines * * The list header contains routines for manipulating double linked lists; - * this extends it so you can create list head types which only accomodate + * this extends it so you can create list head types which only accommodate * a specific entry type. * - * You use TLIST_TYPE() to define the specific struct tlist_, then use - * the tlist_* variants of the various list_* operations. - * * Example: * #include * #include * #include * #include * - * // Defines struct tlist_children * TLIST_TYPE(children, struct child); * struct parent { * const char *name; - * struct tlist_children children; * unsigned int num_children; + * struct tlist_children children; * }; * * struct child { @@ -66,6 +62,7 @@ int main(int argc, char *argv[]) if (strcmp(argv[1], "depends") == 0) { printf("ccan/list\n"); + printf("ccan/tcon\n"); return 0; }