]> git.ozlabs.org Git - ccan/blobdiff - tools/depends.c
ccanlint: add is_excluded() helper.
[ccan] / tools / depends.c
index 16f7cb69777cf733f73dda0e2358b2d32308bfb6..efb42004324b5022d4858c2d5f8fe8aad04a0cbf 100644 (file)
@@ -255,11 +255,11 @@ char **get_deps(const void *ctx, const char *dir,
 }
 
 char **get_safe_ccan_deps(const void *ctx, const char *dir,
-                         bool recurse, char **infofile)
+                         bool recurse)
 {
        if (!recurse) {
                unsigned int num;
-               return get_one_safe_deps(ctx, dir, &num, infofile);
+               return get_one_safe_deps(ctx, dir, &num, NULL);
        }
-       return get_all_deps(ctx, dir, infofile, get_one_safe_deps);
+       return get_all_deps(ctx, dir, NULL, get_one_safe_deps);
 }