diff options
Diffstat (limited to 'cpukit/sapi/src/rbtreeinsert.c')
-rw-r--r-- | cpukit/sapi/src/rbtreeinsert.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/cpukit/sapi/src/rbtreeinsert.c b/cpukit/sapi/src/rbtreeinsert.c index a4850ff4cf..38b2f5b4ca 100644 --- a/cpukit/sapi/src/rbtreeinsert.c +++ b/cpukit/sapi/src/rbtreeinsert.c @@ -14,19 +14,19 @@ #include <rtems/score/rbtreeimpl.h> RTEMS_STATIC_ASSERT( - sizeof( RBTree_Compare_result ) >= sizeof( intptr_t ), - RBTree_Compare_result_intptr_t + sizeof( rtems_rbtree_compare_result ) >= sizeof( intptr_t ), + rtems_rbtree_compare_result_intptr_t ); RTEMS_STATIC_ASSERT( - sizeof( RBTree_Compare_result ) >= sizeof( int32_t ), - RBTree_Compare_result_int32_t + sizeof( rtems_rbtree_compare_result ) >= sizeof( int32_t ), + rtems_rbtree_compare_result_int32_t ); rtems_rbtree_node *rtems_rbtree_insert( rtems_rbtree_control *the_rbtree, rtems_rbtree_node *the_node, - RBTree_Compare compare, + rtems_rbtree_compare compare, bool is_unique ) { @@ -34,16 +34,16 @@ rtems_rbtree_node *rtems_rbtree_insert( rtems_rbtree_node *parent = NULL; while ( *which != NULL ) { - RBTree_Compare_result compare_result; + rtems_rbtree_compare_result compare_result; parent = *which; compare_result = ( *compare )( the_node, parent ); - if ( is_unique && _RBTree_Is_equal( compare_result ) ) { + if ( is_unique && rtems_rbtree_is_equal( compare_result ) ) { return parent; } - if ( _RBTree_Is_lesser( compare_result ) ) { + if ( rtems_rbtree_is_lesser( compare_result ) ) { which = _RBTree_Left_reference( parent ); } else { which = _RBTree_Right_reference( parent ); |