]> git.ozlabs.org Git - ccan/blobdiff - tools/ccanlint/tests/objects_build_without_features.c
ccanlint: handle nested modules when mentioned in examples.
[ccan] / tools / ccanlint / tests / objects_build_without_features.c
index 477d3025ce3aaa2cabd3337c87e9bc2b09402f58..ab3bbb0ab13438660f527be73cd4e302994740e2 100644 (file)
@@ -1,16 +1,15 @@
 #include <tools/ccanlint/ccanlint.h>
 #include <ccan/talloc/talloc.h>
 #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);
+       build_objects(m, score, flags, COMPILE_NOFEAT);
 }
 
 struct ccanlint objects_build_without_features = {