]> git.ozlabs.org Git - ccan/blobdiff - tools/namespacize.c
ccanlint: only compile _info once; speeds tdb test from 18 to 16 seconds.
[ccan] / tools / namespacize.c
index 2e6dcbfb9b3f5293b1cf2026bfc6c4930da128c4..3a3fe47ea94503effe8622b1fc9369e4ebeca2f9 100644 (file)
@@ -458,7 +458,7 @@ static void adjust_dir(const char *dir)
        verbose("Adjusting %s\n", dir);
        verbose_indent();
        for (deps = get_deps(parent, parent, talloc_basename(parent, dir),
-                            false);
+                            false, NULL);
             *deps; deps++) {
                char *depdir;
                struct adjusted *adj = NULL;
@@ -498,7 +498,7 @@ static void adjust_dependents(const char *dir)
                        continue;
 
                for (deps = get_deps(*file, talloc_dirname(*file, *file),
-                                    talloc_basename(*file, *file), false);
+                                    talloc_basename(*file, *file), false, NULL);
                     *deps; deps++) {
                        if (!strstarts(*deps, "ccan/"))
                                continue;