X-Git-Url: https://git.ozlabs.org/?a=blobdiff_plain;f=tools%2Fccanlint%2Ftests%2Ftests_helpers_compile.c;fp=tools%2Fccanlint%2Ftests%2Ftests_helpers_compile.c;h=6384bd38421b3d10cf4a74c0c77a9d974f0a2433;hb=dc8042b42500f79f613b1197df6cdf739615a89f;hp=c1b82b8d2aa719564ed92069c4f32da1efebe138;hpb=aabf300e324f7da5134d7ad45afba11225045c24;p=ccan diff --git a/tools/ccanlint/tests/tests_helpers_compile.c b/tools/ccanlint/tests/tests_helpers_compile.c index c1b82b8d..6384bd38 100644 --- a/tools/ccanlint/tests/tests_helpers_compile.c +++ b/tools/ccanlint/tests/tests_helpers_compile.c @@ -1,6 +1,5 @@ #include #include -#include #include #include #include @@ -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); }