]> git.ozlabs.org Git - ccan/blobdiff - tools/ccanlint/tests/trailing_whitespace.c
ccanlint: rename structures to match keys
[ccan] / tools / ccanlint / tests / trailing_whitespace.c
index 2b430e8c308f2b1fa5aba609f7c731bbd505abd2..a66fd74c3c57a8fdd7f42f352975bbe681366665 100644 (file)
@@ -49,7 +49,7 @@ static void check_trailing_whitespace(struct manifest *m,
        }
 }
 
        }
 }
 
-struct ccanlint trailing_whitespace = {
+struct ccanlint no_trailing_whitespace = {
        .key = "no_trailing_whitespace",
        .name = "Module's source code has no trailing whitespace",
        .check = check_trailing_whitespace,
        .key = "no_trailing_whitespace",
        .name = "Module's source code has no trailing whitespace",
        .check = check_trailing_whitespace,
@@ -57,4 +57,4 @@ struct ccanlint trailing_whitespace = {
 };
 
 
 };
 
 
-REGISTER_TEST(trailing_whitespace);
+REGISTER_TEST(no_trailing_whitespace);