]> git.ozlabs.org Git - ccan/blobdiff - tools/ccan_depends.c
ccanlint: typo fix and fix errant description parsing.
[ccan] / tools / ccan_depends.c
index 0c46173f06a7987a72e6f5b376d2e96d7269b89e..b055e44eb1f53e1aee4c5e6f42731c195ce66555 100644 (file)
@@ -37,10 +37,11 @@ int main(int argc, char *argv[])
                errx(1, "--non-ccan needs --compile");
 
        if (compile)
-               deps = get_deps(talloc_autofree_context(), argv[1], recurse);
+               deps = get_deps(talloc_autofree_context(), argv[1],
+                               recurse, NULL);
        else
-               deps = get_safe_ccan_deps(talloc_autofree_context(), argv[1],
-                                         recurse);
+               deps = get_safe_ccan_deps(talloc_autofree_context(),
+                                         argv[1], recurse, NULL);
 
        for (i = 0; deps[i]; i++)
                if (strstarts(deps[i], "ccan/") == ccan)