[ccan] [PATCH] list: list_add_after and list_add_before functions

David Gibson 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
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.ozlabs.org/pipermail/ccan/attachments/20140910/6df43db6/attachment.sig>

More information about the ccan mailing list