projects
/
project
/
libubox.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
list_compat.h: remove list_add_before()
[project/libubox.git]
/
avl.c
diff --git
a/avl.c
b/avl.c
index
b176936
..
f17dab5
100644
(file)
--- a/
avl.c
+++ b/
avl.c
@@
-484,7
+484,7
@@
post_insert(struct avl_tree *tree, struct avl_node *node)
static void
avl_insert_before(struct avl_tree *tree, struct avl_node *pos_node, struct avl_node *node)
{
- list_add_
before(&pos_node->list, &
node->list);
+ list_add_
tail(&node->list, &pos_
node->list);
tree->count++;
}