]> git.ozlabs.org Git - ccan/blobdiff - tools/ccanlint/tests/tests_helpers_compile.c
tools: use tal instead of talloc.
[ccan] / tools / ccanlint / tests / tests_helpers_compile.c
index c1b82b8d2aa719564ed92069c4f32da1efebe138..6384bd38421b3d10cf4a74c0c77a9d974f0a2433 100644 (file)
@@ -1,6 +1,5 @@
 #include <tools/ccanlint/ccanlint.h>
 #include <tools/tools.h>
-#include <ccan/talloc/talloc.h>
 #include <ccan/str/str.h>
 #include <sys/types.h>
 #include <sys/stat.h>
@@ -97,8 +96,7 @@ static void do_compile_test_helpers_without_features(struct manifest *m,
 {
        char *flags;
 
-       flags = talloc_asprintf(score, "%s %s", cflags,
-                               REDUCE_FEATURES_FLAGS);
+       flags = tal_fmt(score, "%s %s", cflags, REDUCE_FEATURES_FLAGS);
 
        compile_test_helpers(m, timeleft, score, flags, COMPILE_NOFEAT);
 }