foreach: remove unused var warning. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
various: add LICENSE comments.
foreach: fix case where iterators are not on the stack. The foreach garbage collection assumed that iterators were all on the stack, but they could be on the heap or a global (or static) variable. We can prevent the heap case by tricky use of macros to complain on any iterator which isn't a single token, but we can't prevent globals/statics. So, if an iterator already seems to be "off" the stack, mark it as such and simply never free it.
foreach: fix HAVE_FOR_LOOP_DECLARATION case.
antithread, foreach, grab_file, hashtable, str_talloc: fix _info depends. For str_talloc and grab_file, avoid using ccan/str (it's just for tests).
foreach: new module