X-Git-Url: http://git.ozlabs.org/?a=blobdiff_plain;f=tools%2Fccanlint%2Ftests%2Fidempotent.c;h=a5210e2fecf3235426474527a7127fe968bd3c92;hb=016a19d260cd7f4afeb5b2b2cc28c8bbed1cd170;hp=e39cc2ac2e7ba696f16077c8b2d0724ce1f3e9fd;hpb=f1c96e9df6efed3c7a8d43495f1aa0bef6b5cefd;p=ccan-lca-2011.git diff --git a/tools/ccanlint/tests/idempotent.c b/tools/ccanlint/tests/idempotent.c index e39cc2a..a5210e2 100644 --- a/tools/ccanlint/tests/idempotent.c +++ b/tools/ccanlint/tests/idempotent.c @@ -194,10 +194,11 @@ static void check_idempotent(struct manifest *m, } struct ccanlint idempotent = { - .key = "idempotent", + .key = "headers_idempotent", .name = "Module headers are #ifndef/#define wrapped", .check = check_idempotent, .handle = handle_idem, + .needs = "" }; -REGISTER_TEST(idempotent, NULL); +REGISTER_TEST(idempotent);