X-Git-Url: https://git.ozlabs.org/?p=ccan;a=blobdiff_plain;f=tools%2Fccanlint%2Ftests%2Fdepends_exist.c;h=7712c48d1847738e903200bbd2dc9c106e09750d;hp=ff67857f8cdc5a98a89c00e8d948e6e12a6dff87;hb=e2a53df3e1f5912c872f1906912053354d0d0c63;hpb=60824f8a0f758dc7808eb31cc83434ea78f44ed1;ds=sidebyside diff --git a/tools/ccanlint/tests/depends_exist.c b/tools/ccanlint/tests/depends_exist.c index ff67857f..7712c48d 100644 --- a/tools/ccanlint/tests/depends_exist.c +++ b/tools/ccanlint/tests/depends_exist.c @@ -35,7 +35,6 @@ static bool add_dep(struct manifest *m, const char *dep, struct score *score) /* FIXME: check this is still true once we reduce features. */ static void check_depends_exist(struct manifest *m, - bool keep, unsigned int *timeleft, struct score *score) { unsigned int i; @@ -58,8 +57,7 @@ static void check_depends_exist(struct manifest *m, if (safe_mode) deps = get_safe_ccan_deps(m, m->dir, true); else - deps = get_deps(m, m->dir, true, - &m->info_file->compiled[COMPILE_NORMAL]); + deps = get_deps(m, m->dir, true, get_or_compile_info); for (i = 0; deps[i]; i++) { if (!strstarts(deps[i], "ccan/"))