X-Git-Url: https://git.ozlabs.org/?a=blobdiff_plain;f=tools%2Fccanlint%2Ftests%2Fdepends_exist.c;h=50f154221f3bb46e931da8d845b768a9c4f025b7;hb=61f58ff94e35c9b8ac5488554e2554bc5c9888b3;hp=f4d1e964634c8210cbf8fb6893ef5f4a4b2403ef;hpb=04b63db616a482d6ed0f51a3ede8001415884bab;p=ccan diff --git a/tools/ccanlint/tests/depends_exist.c b/tools/ccanlint/tests/depends_exist.c index f4d1e964..50f15422 100644 --- a/tools/ccanlint/tests/depends_exist.c +++ b/tools/ccanlint/tests/depends_exist.c @@ -46,7 +46,8 @@ static bool add_dep(struct manifest *m, /* FIXME: check this is still true once we reduce features. */ static void check_depends_exist(struct manifest *m, - unsigned int *timeleft, struct score *score) + unsigned int *timeleft UNNEEDED, + struct score *score) { unsigned int i; char **deps; @@ -77,7 +78,7 @@ static void check_depends_exist(struct manifest *m, } static void check_test_depends_exist(struct manifest *m, - unsigned int *timeleft, + unsigned int *timeleft UNNEEDED, struct score *score) { unsigned int i; @@ -130,7 +131,7 @@ struct ccanlint depends_exist = { .name = "Module's CCAN dependencies can be found", .compulsory = true, .check = check_depends_exist, - .needs = "info_exists" + .needs = "info_compiles" }; REGISTER_TEST(depends_exist);