X-Git-Url: https://git.ozlabs.org/?p=ccan;a=blobdiff_plain;f=tools%2Fnamespacize.c;h=931d05f321da8eff3316b57a3abebfd739377637;hp=100d79428a1a1de6877c298d48c11e3bab5a0245;hb=8b09a6d9f6b27ebb2d0719388d1cf7067083fe2d;hpb=3b200f895cb7884c72d9e2409f047284027abc68 diff --git a/tools/namespacize.c b/tools/namespacize.c index 100d7942..931d05f3 100644 --- a/tools/namespacize.c +++ b/tools/namespacize.c @@ -458,7 +458,7 @@ static void adjust_dir(const char *dir) verbose("Adjusting %s\n", dir); verbose_indent(); - for (deps = get_deps(parent, dir, false, NULL); *deps; deps++) { + for (deps = get_deps(parent, dir, false, compile_info); *deps; deps++) { char *depdir; struct adjusted *adj = NULL; struct replace *repl; @@ -496,7 +496,7 @@ static void adjust_dependents(const char *dir) if (access(info, R_OK) != 0) continue; - for (deps = get_deps(*file, *file, false, NULL); + for (deps = get_deps(*file, *file, false, compile_info); *deps; deps++) { if (!strstarts(*deps, "ccan/")) continue;