]> git.ozlabs.org Git - ccan/blobdiff - tools/ccanlint/tests/idempotent.c
ccanlint: rename structures to match keys
[ccan] / tools / ccanlint / tests / idempotent.c
index a5210e2fecf3235426474527a7127fe968bd3c92..340a0698ac6aecbcb8baf85d231ce4e4d8d978fc 100644 (file)
@@ -193,7 +193,7 @@ 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,
@@ -201,4 +201,4 @@ struct ccanlint idempotent = {
        .needs = ""
 };
 
-REGISTER_TEST(idempotent);
+REGISTER_TEST(headers_idempotent);