X-Git-Url: https://git.ozlabs.org/?a=blobdiff_plain;f=ccan%2Flist%2F_info;h=75e3837c488d9ad03a2d1c0c3aeafb7598c73c4d;hb=ecf907f7e6b41ba69a10b20b2cb5743ed9cdf919;hp=5af837b53f78c0081fea85f3f877613b38cf0463;hpb=faace1758e31f87ee2032cc04c6bb41e3cf8f12e;p=ccan diff --git a/ccan/list/_info b/ccan/list/_info index 5af837b5..75e3837c 100644 --- a/ccan/list/_info +++ b/ccan/list/_info @@ -38,6 +38,7 @@ * * p.name = argv[1]; * list_head_init(&p.children); + * p.num_children = 0; * for (i = 2; i < argc; i++) { * c = malloc(sizeof(*c)); * c->name = argv[i]; @@ -52,7 +53,7 @@ * return 0; * } * - * Licence: LGPL (2 or any later version) + * License: BSD-MIT * Author: Rusty Russell */ int main(int argc, char *argv[]) @@ -61,7 +62,9 @@ int main(int argc, char *argv[]) return 1; if (strcmp(argv[1], "depends") == 0) { + printf("ccan/str\n"); printf("ccan/container_of\n"); + printf("ccan/check_type\n"); return 0; }