X-Git-Url: http://git.ozlabs.org/?a=blobdiff_plain;f=ccan%2Ftlist%2F_info;h=19fc4bd9fb3d731a6127d960b8df74c272569e9d;hb=2c148ec2ad0459d29ba19ec5b1c5515717cc8d80;hp=e6b16ef0ae2c97f4ac3a8289c05112f5d8ae900f;hpb=291237b4fed863be74051274ac5ad9920cb33cc3;p=ccan diff --git a/ccan/tlist/_info b/ccan/tlist/_info index e6b16ef0..19fc4bd9 100644 --- a/ccan/tlist/_info +++ b/ccan/tlist/_info @@ -6,7 +6,7 @@ * 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. * * Example: @@ -15,15 +15,11 @@ * #include * #include * - * // We could use TLIST_TYPE(children, struct child) to define this. - * struct tlist_children { - * struct list_head raw; - * TCON(struct child *canary); - * }; + * TLIST_TYPE(children, struct child); * struct parent { * const char *name; - * struct tlist_children children; * unsigned int num_children; + * struct tlist_children children; * }; * * struct child {