]> git.ozlabs.org Git - ccan/blobdiff - tools/ccanlint/compulsory_tests/build_objs.c
ccanlint: rename structures to match keys
[ccan] / tools / ccanlint / compulsory_tests / build_objs.c
index d26844941c859e10d85fa2e7ae27148fefea98da..13d34a14e041fb90b2fcbba7df020c06805aec31 100644 (file)
@@ -57,11 +57,12 @@ static void check_objs_build(struct manifest *m,
        }
 }
 
-struct ccanlint build_objs = {
-       .key = "build-objects",
+struct ccanlint objects_build = {
+       .key = "objects_build",
        .name = "Module object files can be built",
        .check = check_objs_build,
        .can_run = can_build,
+       .needs = "depends_exist"
 };
 
-REGISTER_TEST(build_objs, &depends_exist, NULL);
+REGISTER_TEST(objects_build);