diff options
author | Harald Welte <laforge@gnumonks.org> | 2012-06-18 12:18:46 +0800 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2012-06-18 12:18:46 +0800 |
commit | b21825effcb5fbe47c95fa364d7f8159a306a2f0 (patch) | |
tree | 34e5ebc823f2e98eb8b5114fa7973034b33564d9 /include/osmocom/core | |
parent | c241404f5eca2ead86e0edf2601ed3f3ffc0a3d9 (diff) |
linuxrbtree: don't use 'new' as argument name to avoid C++ incompatibility
Diffstat (limited to 'include/osmocom/core')
-rw-r--r-- | include/osmocom/core/linuxrbtree.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/osmocom/core/linuxrbtree.h b/include/osmocom/core/linuxrbtree.h index 44e00a16..079f440d 100644 --- a/include/osmocom/core/linuxrbtree.h +++ b/include/osmocom/core/linuxrbtree.h @@ -145,7 +145,7 @@ extern struct rb_node *rb_first(const struct rb_root *); extern struct rb_node *rb_last(const struct rb_root *); /* Fast replacement of a single node without remove/rebalance/add/rebalance */ -extern void rb_replace_node(struct rb_node *victim, struct rb_node *new, +extern void rb_replace_node(struct rb_node *victim, struct rb_node *_new, struct rb_root *root); static inline void rb_link_node(struct rb_node * node, struct rb_node * parent, |