if (!ask(q))
continue;
- tmpname = maybe_temp_file(score, ".h", false, e->file->name);
+ tmpname = temp_file(score, ".h", e->file->name);
out = fopen(tmpname, "w");
if (!out)
err(1, "Opening %s", tmpname);
}
static void check_idempotent(struct manifest *m,
- bool keep,
unsigned int *timeleft, struct score *score)
{
struct ccan_file *f;
.name = "Module headers are #ifndef/#define wrapped",
.check = check_idempotent,
.handle = handle_idem,
- .needs = ""
+ .needs = "info_exists main_header_exists"
};
REGISTER_TEST(headers_idempotent);