aboutsummaryrefslogtreecommitdiffstats
path: root/lib/rbtree.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/rbtree.c')
-rw-r--r--lib/rbtree.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/rbtree.c b/lib/rbtree.c
index 1f8b112a7c35..4ba2828a67c0 100644
--- a/lib/rbtree.c
+++ b/lib/rbtree.c
@@ -427,7 +427,9 @@ static inline void dummy_copy(struct rb_node *old, struct rb_node *new) {}
427static inline void dummy_rotate(struct rb_node *old, struct rb_node *new) {} 427static inline void dummy_rotate(struct rb_node *old, struct rb_node *new) {}
428 428
429static const struct rb_augment_callbacks dummy_callbacks = { 429static const struct rb_augment_callbacks dummy_callbacks = {
430 dummy_propagate, dummy_copy, dummy_rotate 430 .propagate = dummy_propagate,
431 .copy = dummy_copy,
432 .rotate = dummy_rotate
431}; 433};
432 434
433void rb_insert_color(struct rb_node *node, struct rb_root *root) 435void rb_insert_color(struct rb_node *node, struct rb_root *root)