X-Git-Url: https://git.ozlabs.org/?a=blobdiff_plain;f=tools%2Fccanlint%2Ftests%2Fidempotent.c;h=340a0698ac6aecbcb8baf85d231ce4e4d8d978fc;hb=2926cafb52b9d95646d9dafa877d53f2368d8b2c;hp=944fd24820d7160e4756c08ee19ec2db3a977fab;hpb=f9423c171395571f9880286190d9cf63da147668;p=ccan-lca-2011.git diff --git a/tools/ccanlint/tests/idempotent.c b/tools/ccanlint/tests/idempotent.c index 944fd24..340a069 100644 --- a/tools/ccanlint/tests/idempotent.c +++ b/tools/ccanlint/tests/idempotent.c @@ -193,11 +193,12 @@ static void check_idempotent(struct manifest *m, } } -struct ccanlint idempotent = { +struct ccanlint headers_idempotent = { .key = "headers_idempotent", .name = "Module headers are #ifndef/#define wrapped", .check = check_idempotent, .handle = handle_idem, + .needs = "" }; -REGISTER_TEST(idempotent, NULL); +REGISTER_TEST(headers_idempotent);