Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.openwrt.org/project/libubox.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/avl.c
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2014-03-21 01:59:26 +0400
committerFelix Fietkau <nbd@openwrt.org>2014-03-21 01:59:26 +0400
commit7673f2ab47fd47010d996a8d616e3b4d6b1fbfd6 (patch)
treed83b80cdf8258eb3bf2c8316351e6e5af7098deb /avl.c
parentfdcf117ff3effed9cd0dd9b982a2360dc3abf91e (diff)
list_compat.h: remove list_add_after()
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Diffstat (limited to 'avl.c')
-rw-r--r--avl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/avl.c b/avl.c
index 545fd2a..b176936 100644
--- a/avl.c
+++ b/avl.c
@@ -491,7 +491,7 @@ avl_insert_before(struct avl_tree *tree, struct avl_node *pos_node, struct avl_n
static void
avl_insert_after(struct avl_tree *tree, struct avl_node *pos_node, struct avl_node *node)
{
- list_add_after(&pos_node->list, &node->list);
+ list_add(&node->list, &pos_node->list);
tree->count++;
}