]> git.ozlabs.org Git - ccan/blobdiff - tools/ccanlint/tests/hash_if.c
tools: use tal instead of talloc.
[ccan] / tools / ccanlint / tests / hash_if.c
index 9e10c3049e2d4132b9a3a068400212399cfe171b..78b8a9674e484dd26b3ca4b19a75ae325fcfc488 100644 (file)
@@ -1,8 +1,6 @@
 #include <tools/ccanlint/ccanlint.h>
 #include <tools/tools.h>
-#include <ccan/talloc/talloc.h>
 #include <ccan/str/str.h>
-#include <ccan/str_talloc/str_talloc.h>
 #include <ccan/foreach/foreach.h>
 #include <sys/types.h>
 #include <sys/stat.h>
@@ -17,8 +15,7 @@
 #include <ctype.h>
 
 static void check_hash_if(struct manifest *m,
-                                  bool keep,
-                                  unsigned int *timeleft, struct score *score)
+                         unsigned int *timeleft, struct score *score)
 {
        struct list_head *list;
        const char *explanation =