]> git.ozlabs.org Git - ccan/blobdiff - tools/ccanlint/tests/info_ported.c
base64: fix for unsigned chars (e.g. ARM).
[ccan] / tools / ccanlint / tests / info_ported.c
index 4436008925e05ca509d622d200ff949d281c3c54..80e347c73343df3983a4513a4fe1b73b56ed59b4 100644 (file)
@@ -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);