]> git.ozlabs.org Git - ccan/blobdiff - tools/compile.c
tools: use tal instead of talloc.
[ccan] / tools / compile.c
index 5a381a1408a6cd87aedf82803b7664c50cbe2161..65283bc7a166bd8d797fa0c444de25fa37014a53 100644 (file)
@@ -1,5 +1,4 @@
 #include "tools.h"
-#include <ccan/talloc/talloc.h>
 #include <stdlib.h>
 
 bool compile_verbose = false;
@@ -16,7 +15,7 @@ char *link_objects(const void *ctx, const char *basename,
        if (run_command(ctx, NULL, errmsg, "ld -r -o %s %s", file, objs))
                return file;
 
-       talloc_free(file);
+       tal_free(file);
        return NULL;
 }