]> git.ozlabs.org Git - ccan/commitdiff
tlist: Add tlist_next() and tlist_prev() functions
authorDavid Gibson <david@gibson.dropbear.id.au>
Sat, 4 Jun 2016 10:21:33 +0000 (20:21 +1000)
committerRusty Russell <rusty@rustcorp.com.au>
Sun, 5 Jun 2016 05:15:32 +0000 (14:45 +0930)
An odd omission from the tlist module is basic tlist_next() and
tlist_prev() macros matching list_next() and list_prev() in the basic
list module.  This adds them.

Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>

No differences found