Commit 48b70095 authored by Rusty Russell's avatar Rusty Russell

antithread, failtest: use ccan/err instead of err.h.

parent 42cdf910
...@@ -91,6 +91,7 @@ int main(int argc, char *argv[]) ...@@ -91,6 +91,7 @@ int main(int argc, char *argv[])
if (strcmp(argv[1], "depends") == 0) { if (strcmp(argv[1], "depends") == 0) {
printf("ccan/alloc\n"); printf("ccan/alloc\n");
printf("ccan/err\n");
printf("ccan/list\n"); printf("ccan/list\n");
printf("ccan/noerr\n"); printf("ccan/noerr\n");
printf("ccan/read_write_all\n"); /* For tests */ printf("ccan/read_write_all\n"); /* For tests */
......
...@@ -10,8 +10,8 @@ ...@@ -10,8 +10,8 @@
#include <signal.h> #include <signal.h>
#include <errno.h> #include <errno.h>
#include <assert.h> #include <assert.h>
#include <err.h>
#include "antithread.h" #include "antithread.h"
#include <ccan/err/err.h>
#include <ccan/noerr/noerr.h> #include <ccan/noerr/noerr.h>
#include <ccan/talloc/talloc.h> #include <ccan/talloc/talloc.h>
#include <ccan/read_write_all/read_write_all.h> #include <ccan/read_write_all/read_write_all.h>
......
...@@ -66,6 +66,7 @@ int main(int argc, char *argv[]) ...@@ -66,6 +66,7 @@ int main(int argc, char *argv[])
if (strcmp(argv[1], "depends") == 0) { if (strcmp(argv[1], "depends") == 0) {
printf("ccan/build_assert\n"); printf("ccan/build_assert\n");
printf("ccan/compiler\n"); printf("ccan/compiler\n");
printf("ccan/err\n");
printf("ccan/hash\n"); printf("ccan/hash\n");
printf("ccan/htable\n"); printf("ccan/htable\n");
printf("ccan/read_write_all\n"); printf("ccan/read_write_all\n");
......
...@@ -5,7 +5,6 @@ ...@@ -5,7 +5,6 @@
#include <stdio.h> #include <stdio.h>
#include <stdarg.h> #include <stdarg.h>
#include <ctype.h> #include <ctype.h>
#include <err.h>
#include <unistd.h> #include <unistd.h>
#include <poll.h> #include <poll.h>
#include <errno.h> #include <errno.h>
...@@ -17,6 +16,7 @@ ...@@ -17,6 +16,7 @@
#include <sys/resource.h> #include <sys/resource.h>
#include <signal.h> #include <signal.h>
#include <assert.h> #include <assert.h>
#include <ccan/err/err.h>
#include <ccan/time/time.h> #include <ccan/time/time.h>
#include <ccan/read_write_all/read_write_all.h> #include <ccan/read_write_all/read_write_all.h>
#include <ccan/failtest/failtest_proto.h> #include <ccan/failtest/failtest_proto.h>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment