Add list insert routines
authorGeoff Levand <geoffrey.levand@am.sony.com>
Sat, 7 Feb 2009 18:35:53 +0000 (18:35 +0000)
committerJeremy Kerr <jk@ozlabs.org>
Sat, 21 Feb 2009 00:06:22 +0000 (11:06 +1100)
commit1bb9ed4ffbbd1b186b30702d3c4104d5597d0888
tree2c5675b7513dc510274ca764844841a13612a3b9
parent08b9b747db92ce682e094ef86f48321d29fc44d6
Add list insert routines

Add new list insertion routines list_insert_before(), list_insert_after(),
and list_add_tail().  Also, change list_add() to use list_insert_after().

Signed-off-by: Geoff Levand <geoffrey.levand@am.sony.com>
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
lib/list/list.c
lib/list/list.h