diff options
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; |