From: Rusty Russell Date: Sat, 9 Jun 2012 06:06:45 +0000 (+0930) Subject: antithread, failtest: use ccan/err instead of err.h. X-Git-Url: http://git.ozlabs.org/?p=ccan;a=commitdiff_plain;h=48b700953f9c856102e91596103238f5da9ea079 antithread, failtest: use ccan/err instead of err.h. --- diff --git a/ccan/antithread/_info b/ccan/antithread/_info index 9caff0e4..ca8cd16c 100644 --- a/ccan/antithread/_info +++ b/ccan/antithread/_info @@ -91,6 +91,7 @@ int main(int argc, char *argv[]) if (strcmp(argv[1], "depends") == 0) { printf("ccan/alloc\n"); + printf("ccan/err\n"); printf("ccan/list\n"); printf("ccan/noerr\n"); printf("ccan/read_write_all\n"); /* For tests */ diff --git a/ccan/antithread/antithread.c b/ccan/antithread/antithread.c index cd383599..080f890c 100644 --- a/ccan/antithread/antithread.c +++ b/ccan/antithread/antithread.c @@ -10,8 +10,8 @@ #include #include #include -#include #include "antithread.h" +#include #include #include #include diff --git a/ccan/failtest/_info b/ccan/failtest/_info index 020a8bc6..ca2b60ea 100644 --- a/ccan/failtest/_info +++ b/ccan/failtest/_info @@ -66,6 +66,7 @@ int main(int argc, char *argv[]) if (strcmp(argv[1], "depends") == 0) { printf("ccan/build_assert\n"); printf("ccan/compiler\n"); + printf("ccan/err\n"); printf("ccan/hash\n"); printf("ccan/htable\n"); printf("ccan/read_write_all\n"); diff --git a/ccan/failtest/failtest.c b/ccan/failtest/failtest.c index dae3024e..b3ee0337 100644 --- a/ccan/failtest/failtest.c +++ b/ccan/failtest/failtest.c @@ -5,7 +5,6 @@ #include #include #include -#include #include #include #include @@ -17,6 +16,7 @@ #include #include #include +#include #include #include #include