diff options
Diffstat (limited to 'cpukit/sapi/include/rtems/rbtree.h')
-rw-r--r-- | cpukit/sapi/include/rtems/rbtree.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cpukit/sapi/include/rtems/rbtree.h b/cpukit/sapi/include/rtems/rbtree.h index cf4cd60a9a..8ea3430429 100644 --- a/cpukit/sapi/include/rtems/rbtree.h +++ b/cpukit/sapi/include/rtems/rbtree.h @@ -224,7 +224,7 @@ RTEMS_INLINE_ROUTINE bool rtems_rbtree_is_min( const rtems_rbtree_node *the_node ) { - return _RBTree_Is_first( the_rbtree, the_node, RBT_LEFT ); + return rtems_rbtree_min( the_rbtree ) == the_node; } /** @@ -238,7 +238,7 @@ RTEMS_INLINE_ROUTINE bool rtems_rbtree_is_max( const rtems_rbtree_node *the_node ) { - return _RBTree_Is_first( the_rbtree, the_node, RBT_RIGHT ); + return rtems_rbtree_max( the_rbtree ) == the_node; } /** |