]> git.ozlabs.org Git - ccan/blobdiff - tools/ccanlint/tests/idempotent.c
From: Joseph Adams <joeyadams3.14159@gmail.com>
[ccan] / tools / ccanlint / tests / idempotent.c
index 924f5bea3c7d6b53c424ba7cff6fafe7897aadf2..6ed1767606239d7e4f8dde94c7211a52ba44ee65 100644 (file)
@@ -132,10 +132,11 @@ static const char *describe_idempotent(struct manifest *m, void *check_result)
 }
 
 struct ccanlint idempotent = {
+       .key = "idempotent",
        .name = "Headers are #ifndef/#define idempotent wrapped",
        .total_score = 1,
        .check = check_idempotent,
        .describe = describe_idempotent,
 };
 
-REGISTER_TEST(idempotent, &trailing_whitespace, NULL);
+REGISTER_TEST(idempotent, NULL);