X-Git-Url: https://git.ozlabs.org/?p=ccan;a=blobdiff_plain;f=tools%2Fccanlint%2Ftests%2Favoids_cpp_reserved.c;fp=tools%2Fccanlint%2Ftests%2Favoids_cpp_reserved.c;h=72b3604efa45478c4f8d59110d92bc37bca9880a;hp=68d4ad603b91479db6ff6b34acf35f473a02cf57;hb=af5b1a18948345c5f9f9abf4eda3ab9fe0aa9a9f;hpb=04f453bbedd1eca3e5ab93290304d8193ffdd87f diff --git a/tools/ccanlint/tests/avoids_cpp_reserved.c b/tools/ccanlint/tests/avoids_cpp_reserved.c index 68d4ad60..72b3604e 100644 --- a/tools/ccanlint/tests/avoids_cpp_reserved.c +++ b/tools/ccanlint/tests/avoids_cpp_reserved.c @@ -36,7 +36,6 @@ static struct ccan_file *main_header(struct manifest *m) } static void check_headers_no_cpp(struct manifest *m, - bool keep, unsigned int *timeleft, struct score *score) { char *contents; @@ -44,8 +43,8 @@ static void check_headers_no_cpp(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); /* We don't fail you for this. */ score->pass = true;