mirror of https://gerrit.osmocom.org/libosmocore
linuxrbtree: don't use 'new' as argument name to avoid C++ incompatibility
This commit is contained in:
parent
c241404f5e
commit
b21825effc
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue