Signed-off-by: Felix Fietkau <nbd@openwrt.org>
* this must be the first element of an avl_node to
* make casting for lists easier
*/
- struct list_entity list;
+ struct list_head list;
/**
* Pointer to parent node in tree, NULL if root node
* Head of linked list node for supporting easy iteration
* and multiple elments with the same key.
*/
- struct list_entity list_head;
+ struct list_head list_head;
/**
* pointer to the root node of the avl tree, NULL if tree is empty
#ifndef __LIST_COMPAT_H
#define __LIST_COMPAT_H
-#define list_entity list_head
-
#define list_init_head(_list) INIT_LIST_HEAD(_list)
#define list_add_head(_head, _list) list_add(_list, _head)
#define list_add_after(_after, _list) list_add(_list, _after)