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 02:00:24 +0400
committerFelix Fietkau <nbd@openwrt.org>2014-03-21 02:00:24 +0400
commitf5e105b603c5826af522a46d693d62deee9520ef (patch)
treefe788f32a3391b487a87e8ea321ac1204acf7193 /avl.c
parent7673f2ab47fd47010d996a8d616e3b4d6b1fbfd6 (diff)
list_compat.h: remove list_add_before()
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 b176936..f17dab5 100644
--- 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++;
}