X-Git-Url: https://git.ozlabs.org/?a=blobdiff_plain;f=tools%2Fccanlint%2Ftests%2Fhash_if.c;h=13750e9451629b83b8cf3bce766eeb37bdcc85d3;hb=d8c9fdc0e6b70ab4fced949ee6488dc585a711f4;hp=35608ef1979c28b86926f9c475c5b6dcab75ac62;hpb=678cd10db6d6b81d97f3b98ea0a54657141632ad;p=ccan diff --git a/tools/ccanlint/tests/hash_if.c b/tools/ccanlint/tests/hash_if.c index 35608ef1..13750e94 100644 --- a/tools/ccanlint/tests/hash_if.c +++ b/tools/ccanlint/tests/hash_if.c @@ -17,8 +17,7 @@ #include static void check_hash_if(struct manifest *m, - bool keep, - unsigned int *timeleft, struct score *score) + unsigned int *timeleft, struct score *score) { struct list_head *list; const char *explanation = @@ -71,7 +70,7 @@ struct ccanlint hash_if = { .key = "hash_if", .name = "Features are checked with #if not #ifdef", .check = check_hash_if, - .needs = "" + .needs = "info_exists" }; REGISTER_TEST(hash_if);