]> git.ozlabs.org Git - ccan/blobdiff - tools/ccanlint/compulsory_tests/check_build.c
ccanlint: put generated _info in correct directory.
[ccan] / tools / ccanlint / compulsory_tests / check_build.c
index 21189645280d4d2b5d6da1c8eaa9ed01218120d1..2098f0d2a488212f2079e40ffc45d4ca48efe49e 100644 (file)
@@ -44,7 +44,7 @@ static char *lib_list(const struct manifest *m)
        return ret;
 }
 
-static void *check_use_build(struct manifest *m)
+static void *check_use_build(struct manifest *m, unsigned int *timeleft)
 {
        char *contents;
        char *tmpfile, *err;
@@ -84,7 +84,8 @@ static const char *describe_use_build(struct manifest *m, void *check_result)
 }
 
 struct ccanlint check_build = {
-       .name = "Module can be used",
+       .key = "check-link",
+       .name = "Module can be linked against trivial program",
        .total_score = 1,
        .check = check_use_build,
        .describe = describe_use_build,