]> git.ozlabs.org Git - ccan/blobdiff - tools/ccan_depends.c
ccanlint: use -t for --target not --timeout
[ccan] / tools / ccan_depends.c
index 0c46173f06a7987a72e6f5b376d2e96d7269b89e..4dda6fa274d65965daaceb4707b377b8bc1989ff 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);
 
        for (i = 0; deps[i]; i++)
                if (strstarts(deps[i], "ccan/") == ccan)