]> git.ozlabs.org Git - ccan/blobdiff - tools/ccanlint/compulsory_tests/has_main_header.c
From: Joseph Adams <joeyadams3.14159@gmail.com>
[ccan] / tools / ccanlint / compulsory_tests / has_main_header.c
index 978bfcb60029ca30e9beb6eae47dcab285043f0f..b404aef80d1d40b94346ee5b018a06823838fbde 100644 (file)
@@ -35,7 +35,10 @@ static const char *describe_has_main_header(struct manifest *m,
 }
 
 struct ccanlint has_main_header = {
+       .key = "has-main-header",
        .name = "No main header file",
        .check = check_has_main_header,
        .describe = describe_has_main_header,
 };
+
+REGISTER_TEST(has_main_header, NULL);