[ccan] [PATCH] list: list_add_after and list_add_before functions
david at gibson.dropbear.id.au
Wed Sep 10 22:50:50 EST 2014
On Wed, Sep 10, 2014 at 01:19:11AM +0000, Eric Wong wrote:
> These make it easy to add a new element before or after an
> existing element in the middle of the list.
> The existing list_add and list_add_tail functions are trivially
> reimplemented on top of these new functions.
> Signed-off-by: Eric Wong <normalperson at yhbt.net>
Reviewed-by: David Gibson <david at gibson.dropbear.id.au>
David Gibson | I'll have my music baroque, and my code
david AT gibson.dropbear.id.au | minimalist, thank you. NOT _the_ _other_
| _way_ _around_!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 819 bytes
Desc: not available
More information about the ccan