utf8: don't allow NUL in decoded strings.
[ccan] / tools / ccanlint / tests / depends_build.c
index 69510a2969b69c6c6468d0085a89850b0428c3e2..24fb7ca3d68de7e281a8cdfdac123d19ea423958 100644 (file)
@@ -15,7 +15,7 @@
 #include <ctype.h>
 #include "build.h"
 
-static const char *can_build(struct manifest *m)
+static const char *can_build(struct manifest *m UNNEEDED)
 {
        if (safe_mode)
                return "Safe mode enabled";
@@ -76,7 +76,8 @@ char *build_submodule(struct manifest *m, const char *flags,
 }
 
 static void check_depends_built(struct manifest *m,
-                               unsigned int *timeleft, struct score *score)
+                               unsigned int *timeleft UNNEEDED,
+                               struct score *score)
 {
        struct list_head *list;
 
@@ -108,7 +109,7 @@ struct ccanlint depends_build = {
        .name = "Module's CCAN dependencies can be found or built",
        .check = check_depends_built,
        .can_run = can_build,
-       .needs = "depends_exist test_depends_exist"
+       .needs = "depends_exist test_depends_exist info_ported"
 };
 
 REGISTER_TEST(depends_build);