From: Felix Fietkau Date: Thu, 20 Mar 2014 21:55:45 +0000 (+0100) Subject: list_compat.h: remove list_entity compat define X-Git-Url: http://git.archive.openwrt.org/?p=project%2Flibubox.git;a=commitdiff_plain;h=bbdfee8182c5c8d3704f343c6402bd68dd05071e;hp=3edc29942c43a8178019c4821c1ee9a11d26ba99;ds=inline list_compat.h: remove list_entity compat define Signed-off-by: Felix Fietkau --- diff --git a/avl.h b/avl.h index 3a79e3a..2591de3 100644 --- a/avl.h +++ b/avl.h @@ -62,7 +62,7 @@ struct avl_node { * 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 @@ -113,7 +113,7 @@ struct avl_tree { * 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 diff --git a/list_compat.h b/list_compat.h index 119a9a0..bfa12c1 100644 --- a/list_compat.h +++ b/list_compat.h @@ -17,8 +17,6 @@ #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)