ccanlint: rename structures to match keys
[ccan] / tools / ccanlint / tests / license.c
index 1ffee9e25d6719b269e675db8a8eaf856f3d3dab..965a159ff8fff53f15bea96d4675c052eedbd9f0 100644 (file)
@@ -149,11 +149,11 @@ static void check_has_license(struct manifest *m,
        score->score = score->total;
 }
 
-struct ccanlint has_license = {
+struct ccanlint license_exists = {
        .key = "license_exists",
        .name = "Module has License: entry in _info, and LICENSE symlink/file",
        .check = check_has_license,
        .needs = "info_exists"
 };
 
-REGISTER_TEST(has_license);
+REGISTER_TEST(license_exists);