foreach: more const iteration fixes.
authorRusty Russell <rusty@rustcorp.com.au>
Tue, 22 Mar 2011 03:35:33 +0000 (14:05 +1030)
committerRusty Russell <rusty@rustcorp.com.au>
Tue, 22 Mar 2011 03:35:33 +0000 (14:05 +1030)
commite2fc21e505ed7dd5bcf1fe2ad7a5c1000e743cee
tree4e0b85c908f7d167930af18cd75a8f0818f172e9
parenta95fc43fbef22efa0a41b3ce86a732bb57ad9ef5
foreach: more const iteration fixes.

Shown up by -Wwrite-strings.
ccan/foreach/foreach.h
ccan/foreach/test/compile_ok-const.c [new file with mode: 0644]
ccan/foreach/test/compile_ok-nonconst.c [new file with mode: 0644]