alloc: move into antithread/alloc. Our first nested module; easy because noone else relies on it. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
antithread, failtest: use ccan/err instead of err.h.
various: add LICENSE comments.
To compile ccan under DragonFly BSD some additional includes are required.
antithread: fix -Wwrite-strings warning in test, and trailing whitespace.
antithread: avoid arithmetic on void pointers
Adapt antithread to new talloc locking, and fix so talloc destructor works.
Fix new glibc warnings about warn_unused_result.
Simplify -I lines: change includes to ccan/
Add antithread. Not finished, but useful as example of module whose dependents have dependents.