X-Git-Url: http://git.ozlabs.org/?p=ccan;a=blobdiff_plain;f=tools%2Fdepends.c;h=4c31e50a12ef5a825537a802578373af3d00ede9;hp=6c61cca0ec76bc8dcc52b04fa61349bd7727ed48;hb=90f958f9feaecf32d2813af48270d9c5431ee377;hpb=39357f4e89f4ac02eb11861812cbfc67b4f1d4ef;ds=inline diff --git a/tools/depends.c b/tools/depends.c index 6c61cca0..4c31e50a 100644 --- a/tools/depends.c +++ b/tools/depends.c @@ -181,12 +181,13 @@ get_all_deps(const void *ctx, const char *dir, const char *name, for (i = 0; i < num; i++) { char **newdeps; unsigned int j, newnum; + char *subinfo = NULL; if (!strstarts(deps[i], "ccan/")) continue; newdeps = get_one(ctx, dir, deps[i] + strlen("ccan/"), - &newnum, infofile); + &newnum, &subinfo); /* Should be short, so brute-force out dups. */ for (j = 0; j < newnum; j++) {