X-Git-Url: https://git.ozlabs.org/?a=blobdiff_plain;f=tools%2Fccanlint%2Ftests%2Fmain_header_compiles.c;fp=tools%2Fccanlint%2Ftests%2Fmain_header_compiles.c;h=b4a12e1349297a4330f2cae800c6d580e517232a;hb=af5b1a18948345c5f9f9abf4eda3ab9fe0aa9a9f;hp=99f3aa38855928e8611dc0967f4ff854a65e6ed9;hpb=04f453bbedd1eca3e5ab93290304d8193ffdd87f;p=ccan diff --git a/tools/ccanlint/tests/main_header_compiles.c b/tools/ccanlint/tests/main_header_compiles.c index 99f3aa38..b4a12e13 100644 --- a/tools/ccanlint/tests/main_header_compiles.c +++ b/tools/ccanlint/tests/main_header_compiles.c @@ -36,7 +36,6 @@ static struct ccan_file *main_header(struct manifest *m) } static void check_includes_build(struct manifest *m, - bool keep, unsigned int *timeleft, struct score *score) { char *contents; @@ -44,8 +43,8 @@ static void check_includes_build(struct manifest *m, int fd; struct ccan_file *mainh = main_header(m); - tmpsrc = maybe_temp_file(m, "-included.c", keep, mainh->fullname); - tmpobj = maybe_temp_file(m, ".o", keep, tmpsrc); + tmpsrc = temp_file(m, "-included.c", mainh->fullname); + tmpobj = temp_file(m, ".o", tmpsrc); fd = open(tmpsrc, O_WRONLY | O_CREAT | O_EXCL, 0600); if (fd < 0)