X-Git-Url: http://git.ozlabs.org/?p=ccan;a=blobdiff_plain;f=tools%2Fccanlint%2Ftests%2Fobjects_build_without_features.c;h=4406842fd984d88fd802aee32e41c71f4ccf99e1;hp=ab3bbb0ab13438660f527be73cd4e302994740e2;hb=dc8042b42500f79f613b1197df6cdf739615a89f;hpb=af5b1a18948345c5f9f9abf4eda3ab9fe0aa9a9f diff --git a/tools/ccanlint/tests/objects_build_without_features.c b/tools/ccanlint/tests/objects_build_without_features.c index ab3bbb0a..4406842f 100644 --- a/tools/ccanlint/tests/objects_build_without_features.c +++ b/tools/ccanlint/tests/objects_build_without_features.c @@ -1,5 +1,5 @@ #include -#include +#include #include "reduce_features.h" #include "build.h" @@ -7,8 +7,8 @@ static void check_objs_build_without_features(struct manifest *m, unsigned int *timeleft, struct score *score) { - const char *flags = talloc_asprintf(score, "%s %s", - REDUCE_FEATURES_FLAGS, cflags); + const char *flags = tal_fmt(score, "%s %s", + REDUCE_FEATURES_FLAGS, cflags); build_objects(m, score, flags, COMPILE_NOFEAT); }