diff options
author | Felix Fietkau <nbd@openwrt.org> | 2014-03-21 01:56:31 +0400 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2014-03-21 01:56:45 +0400 |
commit | d1e59653fa6c7599320155ca7acb92f457f60fa6 (patch) | |
tree | 9b84e7ec74efcdcd2b4c32142295bd456f0904c2 /avl.c | |
parent | bbdfee8182c5c8d3704f343c6402bd68dd05071e (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.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |