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:56:31 +0400
committerFelix Fietkau <nbd@openwrt.org>2014-03-21 01:56:45 +0400
commitd1e59653fa6c7599320155ca7acb92f457f60fa6 (patch)
tree9b84e7ec74efcdcd2b4c32142295bd456f0904c2 /avl.c
parentbbdfee8182c5c8d3704f343c6402bd68dd05071e (diff)
list_compat.h: remove list_init_head()
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 3efeaf5..91b2bb8 100644
--- a/avl.c
+++ b/avl.c
@@ -90,7 +90,7 @@ static void avl_remove(struct avl_tree *tree, struct avl_node *node);
void
avl_init(struct avl_tree *tree, avl_tree_comp comp, bool allow_dups, void *ptr)
{
- list_init_head(&tree->list_head);
+ INIT_LIST_HEAD(&tree->list_head);
tree->root = NULL;
tree->count = 0;
tree->comp = comp;