list: fix list_prev and list_next on const lists.
[ccan] / ccan / list /
drwxr-xr-x   ..
lrwxrwxrwx 22 LICENSE -> ../../licenses/BSD-MIT
-rw-r--r-- 1473 _info
-rw-r--r-- 1000 list.c
-rw-r--r-- 17441 list.h
drwxr-xr-x - test