X-Git-Url: http://git.ozlabs.org/?a=blobdiff_plain;ds=sidebyside;f=ccan%2Ftlist%2F_info;h=19fc4bd9fb3d731a6127d960b8df74c272569e9d;hb=a8722345053b7cd860499aa31fd6bb414c120cc8;hp=4c3394c977b5459eec1f7a3ec826cf8142f1728e;hpb=3e1be50f117fee7d3bc6c4a56e71c15495f3bcad;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;