X-Git-Url: http://git.ozlabs.org/?a=blobdiff_plain;f=tools%2Fccanlint%2Ftests%2Ftests_helpers_compile.c;h=6384bd38421b3d10cf4a74c0c77a9d974f0a2433;hb=6aa2f4e347e5d66a392b879fe901bc582099a552;hp=c1b82b8d2aa719564ed92069c4f32da1efebe138;hpb=af5b1a18948345c5f9f9abf4eda3ab9fe0aa9a9f;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); }