list: fix list_prev and list_next on const lists.
authorRusty Russell <rusty@rustcorp.com.au>
Sat, 9 Nov 2013 10:16:58 +0000 (20:46 +1030)
committerRusty Russell <rusty@rustcorp.com.au>
Sat, 9 Nov 2013 10:16:58 +0000 (20:46 +1030)
commit447cfb714cdd9e09677f5d66b632c452c11a7055
tree96cdeae81bf38345cff84adac6079ca12ab6edb5
parentefd79fad55845cf71f822cda6b334a2b9eb27baf
list: fix list_prev and list_next on const lists.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
ccan/list/list.h
ccan/list/test/run-list_prev-list_next.c