X-Git-Url: http://git.ozlabs.org/?a=blobdiff_plain;f=tools%2Fccanlint%2Ftests%2Fobjects_build_without_features.c;h=4406842fd984d88fd802aee32e41c71f4ccf99e1;hb=6aa2f4e347e5d66a392b879fe901bc582099a552;hp=477d3025ce3aaa2cabd3337c87e9bc2b09402f58;hpb=939fab341caaa06d032b29f06362335de0db82cc;p=ccan diff --git a/tools/ccanlint/tests/objects_build_without_features.c b/tools/ccanlint/tests/objects_build_without_features.c index 477d3025..4406842f 100644 --- a/tools/ccanlint/tests/objects_build_without_features.c +++ b/tools/ccanlint/tests/objects_build_without_features.c @@ -1,16 +1,15 @@ #include -#include +#include #include "reduce_features.h" -#include "../compulsory_tests/build.h" +#include "build.h" static void check_objs_build_without_features(struct manifest *m, - bool keep, unsigned int *timeleft, struct score *score) { - const char *flags = talloc_asprintf(score, "%s %s", - REDUCE_FEATURES_FLAGS, cflags); - build_objects(m, keep, score, flags, COMPILE_NOFEAT); + const char *flags = tal_fmt(score, "%s %s", + REDUCE_FEATURES_FLAGS, cflags); + build_objects(m, score, flags, COMPILE_NOFEAT); } struct ccanlint objects_build_without_features = {