summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2012-06-18 12:18:46 +0800
committerHarald Welte <laforge@gnumonks.org>2012-06-18 12:18:46 +0800
commitb21825effcb5fbe47c95fa364d7f8159a306a2f0 (patch)
tree34e5ebc823f2e98eb8b5114fa7973034b33564d9 /include
parentc241404f5eca2ead86e0edf2601ed3f3ffc0a3d9 (diff)
linuxrbtree: don't use 'new' as argument name to avoid C++ incompatibility
Diffstat (limited to 'include')
-rw-r--r--include/osmocom/core/linuxrbtree.h2
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,