]> git.ozlabs.org Git - ccan/blobdiff - tools/ccanlint/tests/tests_exist.c
ccanlint: fix _info option handling
[ccan] / tools / ccanlint / tests / tests_exist.c
index 64b2691e0eaceba570e0e7595cda0a543b3e134d..86f7ef27e816e902c406c2a92aec44dba26a20dc 100644 (file)
@@ -10,7 +10,7 @@
 #include <err.h>
 #include <ccan/talloc/talloc.h>
 
-extern struct ccanlint tests_exist;
+REGISTER_TEST(tests_exist);
 
 static void handle_no_tests(struct manifest *m, struct score *score)
 {
@@ -135,4 +135,3 @@ struct ccanlint tests_exist = {
        .needs = ""
 };
 
-REGISTER_TEST(tests_exist);