projects
/
oweals
/
netifd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e33ab96
)
utils: use list_add_tail() in vlist_simple_add() to preserve user-defined order of...
author
Jo-Philipp Wich
<jow@openwrt.org>
Thu, 2 May 2013 08:47:40 +0000
(10:47 +0200)
committer
Jo-Philipp Wich
<jow@openwrt.org>
Thu, 2 May 2013 08:47:40 +0000
(10:47 +0200)
utils.h
patch
|
blob
|
history
diff --git
a/utils.h
b/utils.h
index 3a8e557063be53dfd52d591c37fc2134a2f5a778..23795e592b5e96c591a26c2575240339d9b8169c 100644
(file)
--- a/
utils.h
+++ b/
utils.h
@@
-63,7
+63,7
@@
static inline void vlist_simple_update(struct vlist_simple_tree *tree)
static inline void vlist_simple_add(struct vlist_simple_tree *tree, struct vlist_simple_node *node)
{
node->version = tree->version;
- list_add(&node->list, &tree->list);
+ list_add
_tail
(&node->list, &tree->list);
}
#define vlist_simple_for_each_element(tree, element, node_member) \