]> git.ozlabs.org Git - ccan/blobdiff - ccan/likely/test/run-debug.c
generator: Rewrite to use coroutine module
[ccan] / ccan / likely / test / run-debug.c
index afb21e2be2fd1fd966df24d6e0cf80228cafc38b..72015ee42858301bd343572fead21ae9cce81a2b 100644 (file)
@@ -26,7 +26,7 @@ static bool likely_one_unlikely_two(unsigned int val1, unsigned int val2)
        return false;
 }
 
-int main(int argc, char *argv[])
+int main(void)
 {
        char *bad;
 
@@ -98,3 +98,8 @@ int main(int argc, char *argv[])
 
        exit(exit_status());
 }
+
+/* Fools ccanlint: it doesn't think we use str, htable or hash. */
+#include <ccan/hash/hash.h>
+#include <ccan/htable/htable.h>
+#include <ccan/str/str.h>