X-Git-Url: http://git.ozlabs.org/?a=blobdiff_plain;f=ccan%2Ftlist%2F_info;h=19fc4bd9fb3d731a6127d960b8df74c272569e9d;hb=fedf515165bfafaf4fb98252ecda1abe050c8da5;hp=4c3394c977b5459eec1f7a3ec826cf8142f1728e;hpb=03f100b281441a953d4ec858389f82e25a95c043;p=ccan diff --git a/ccan/tlist/_info b/ccan/tlist/_info index 4c3394c9..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,11 +15,7 @@ * #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; * unsigned int num_children;