-static bool compile_obj(struct ccan_file *c_file, char *objfile, char **report)
-{
- char *contents;
-
- contents = run_command(objfile, "cc " CFLAGS " -o %s -c %s",
- objfile, c_file->name);
- if (contents) {
- if (*report)
- *report = talloc_append_string(*report, contents);
- else
- *report = contents;
- return false;
- }
- return true;
-}
-
-static int cleanup_obj(char *objfile)
-{
- unlink(objfile);
- return 0;
-}
-