X-Git-Url: http://git.ozlabs.org/?p=ccan;a=blobdiff_plain;f=tools%2Fccanlint%2Ftests%2Fdepends_build.c;h=24fb7ca3d68de7e281a8cdfdac123d19ea423958;hp=69510a2969b69c6c6468d0085a89850b0428c3e2;hb=dfafd0a1f522277c9be5fc589885db38f706d108;hpb=dc8042b42500f79f613b1197df6cdf739615a89f diff --git a/tools/ccanlint/tests/depends_build.c b/tools/ccanlint/tests/depends_build.c index 69510a29..24fb7ca3 100644 --- a/tools/ccanlint/tests/depends_build.c +++ b/tools/ccanlint/tests/depends_build.c @@ -15,7 +15,7 @@ #include #include "build.h" -static const char *can_build(struct manifest *m) +static const char *can_build(struct manifest *m UNNEEDED) { if (safe_mode) return "Safe mode enabled"; @@ -76,7 +76,8 @@ char *build_submodule(struct manifest *m, const char *flags, } static void check_depends_built(struct manifest *m, - unsigned int *timeleft, struct score *score) + unsigned int *timeleft UNNEEDED, + struct score *score) { struct list_head *list; @@ -108,7 +109,7 @@ struct ccanlint depends_build = { .name = "Module's CCAN dependencies can be found or built", .check = check_depends_built, .can_run = can_build, - .needs = "depends_exist test_depends_exist" + .needs = "depends_exist test_depends_exist info_ported" }; REGISTER_TEST(depends_build);