ccanlint: rename structures to match keys
[ccan] / tools / ccanlint / compulsory_tests / build.c
index cf128f6a7c3587e6dbaf1103efa3f00cb49b2285..9d697a303a57399a1754da32db7dfc0c20d1ffa0 100644 (file)
@@ -73,7 +73,7 @@ static void do_build(struct manifest *m,
        score->score = score->total;
 }
 
        score->score = score->total;
 }
 
-struct ccanlint build = {
+struct ccanlint module_builds = {
        .key = "module_builds",
        .name = "Module can be built from object files",
        .check = do_build,
        .key = "module_builds",
        .name = "Module can be built from object files",
        .check = do_build,
@@ -81,4 +81,4 @@ struct ccanlint build = {
        .needs = "objects_build"
 };
 
        .needs = "objects_build"
 };
 
-REGISTER_TEST(build);
+REGISTER_TEST(module_builds);