Whamcloud - gitweb
libext2fs: avoid using a C++ reserved identifier in rbtree.h
authorTheodore Ts'o <tytso@mit.edu>
Sat, 18 May 2024 05:00:14 +0000 (01:00 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Sat, 18 May 2024 05:00:14 +0000 (01:00 -0400)
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
lib/ext2fs/rbtree.h

index 790f5c1..b96e6f2 100644 (file)
@@ -163,7 +163,7 @@ extern struct rb_node *ext2fs_rb_first(const struct rb_root *);
 extern struct rb_node *ext2fs_rb_last(const struct rb_root *);
 
 /* Fast replacement of a single node without remove/rebalance/add/rebalance */
-extern void ext2fs_rb_replace_node(struct rb_node *victim, struct rb_node *new,
+extern void ext2fs_rb_replace_node(struct rb_node *victim, struct rb_node *new_,
                                 struct rb_root *root);
 
 static inline void ext2fs_rb_link_node(struct rb_node * node,