return NULL;
}
-static void *check_includes_build(struct manifest *m)
+static void *check_includes_build(struct manifest *m, unsigned int *timeleft)
{
char *contents;
char *tmpfile, *err;
}
close(fd);
- if (compile_object(m, tmpfile, &err))
+ if (compile_object(m, tmpfile, ccan_dir, &err))
return NULL;
return err;
}
}
struct ccanlint includes_build = {
- .name = "Can compile against main header",
+ .key = "include-main",
+ .name = "Modules main header compiles",
.total_score = 1,
.check = check_includes_build,
.describe = describe_includes_build,