Changeset 3f49446 in rtems for cpukit/sapi


Ignore:
Timestamp:
Aug 21, 2015, 3:40:07 AM (4 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
master
Children:
2d48456
Parents:
341f629
git-author:
Sebastian Huber <sebastian.huber@…> (08/21/15 03:40:07)
git-committer:
Sebastian Huber <sebastian.huber@…> (08/31/15 07:59:41)
Message:

rbtree: Delete _RBTree_Is_first()

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/sapi/include/rtems/rbtree.h

    r341f629 r3f49446  
    225225)
    226226{
    227   return _RBTree_Is_first( the_rbtree, the_node, RBT_LEFT );
     227  return rtems_rbtree_min( the_rbtree ) == the_node;
    228228}
    229229
     
    239239)
    240240{
    241   return _RBTree_Is_first( the_rbtree, the_node, RBT_RIGHT );
     241  return rtems_rbtree_max( the_rbtree ) == the_node;
    242242}
    243243
Note: See TracChangeset for help on using the changeset viewer.