X-Git-Url: http://git.ozlabs.org/?p=ccan;a=blobdiff_plain;f=tools%2Fccanlint%2Ftests%2Finfo_ported.c;h=80e347c73343df3983a4513a4fe1b73b56ed59b4;hp=4436008925e05ca509d622d200ff949d281c3c54;hb=61f58ff94e35c9b8ac5488554e2554bc5c9888b3;hpb=9a8344b2cd849a5506ca5e93bfc30665fb35acab;ds=sidebyside diff --git a/tools/ccanlint/tests/info_ported.c b/tools/ccanlint/tests/info_ported.c index 44360089..80e347c7 100644 --- a/tools/ccanlint/tests/info_ported.c +++ b/tools/ccanlint/tests/info_ported.c @@ -27,8 +27,9 @@ static const char *can_build(struct manifest *m) return tal_fmt(m, "'_info ported' says '%s'", msg); } -static void check_info_ported(struct manifest *m, - unsigned int *timeleft, struct score *score) +static void check_info_ported(struct manifest *m UNNEEDED, + unsigned int *timeleft UNNEEDED, + struct score *score) { score->pass = true; score->score = 1; @@ -39,7 +40,7 @@ struct ccanlint info_ported = { .can_run = can_build, .name = "_info indicates support for this platform", .check = check_info_ported, - .needs = "info_exists" + .needs = "info_compiles" }; REGISTER_TEST(info_ported);