diff options
author | David Gwynne <dlg@cvs.openbsd.org> | 2016-09-15 05:21:10 +0000 |
---|---|---|
committer | David Gwynne <dlg@cvs.openbsd.org> | 2016-09-15 05:21:10 +0000 |
commit | 2f3dbe8326a68efa8d66a4ac266e1bd06f29a24d (patch) | |
tree | 05837b8d18efe371f62bde254c233b3a6b7eacd9 /sys/kern/subr_tree.c | |
parent | f7ebec58031dec8e2e3e932ace5441e78c23f865 (diff) |
rename the members of rb_entry so they dont keep working with RB macros
Diffstat (limited to 'sys/kern/subr_tree.c')
-rw-r--r-- | sys/kern/subr_tree.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/kern/subr_tree.c b/sys/kern/subr_tree.c index 4c2ba48a14d..03103a1d077 100644 --- a/sys/kern/subr_tree.c +++ b/sys/kern/subr_tree.c @@ -60,10 +60,10 @@ rb_e2n(const struct rb_type *t, struct rb_entry *rbe) return ((void *)(addr - t->t_offset)); } -#define RBE_LEFT(_rbe) (_rbe)->rbe_left -#define RBE_RIGHT(_rbe) (_rbe)->rbe_right -#define RBE_PARENT(_rbe) (_rbe)->rbe_parent -#define RBE_COLOR(_rbe) (_rbe)->rbe_color +#define RBE_LEFT(_rbe) (_rbe)->rbt_left +#define RBE_RIGHT(_rbe) (_rbe)->rbt_right +#define RBE_PARENT(_rbe) (_rbe)->rbt_parent +#define RBE_COLOR(_rbe) (_rbe)->rbt_color #define RBH_ROOT(_rbt) (_rbt)->rbt_root |