diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2015-08-21 05:57:42 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2015-08-31 09:59:42 +0200 |
commit | ddb6a49bdf27206c55f4a2e92e2c62553ff4d7af (patch) | |
tree | e0b911a0fcad7e5d39d0affbfc5ca3c23a6c5845 /cpukit/sapi/include/rtems/rbtree.h | |
parent | rbtree: Delete _RBTree_Get() (diff) | |
download | rtems-ddb6a49bdf27206c55f4a2e92e2c62553ff4d7af.tar.bz2 |
rbtree: Delete _RBTree_Initialize()
This function has no internal use case.
Diffstat (limited to 'cpukit/sapi/include/rtems/rbtree.h')
-rw-r--r-- | cpukit/sapi/include/rtems/rbtree.h | 18 |
1 files changed, 11 insertions, 7 deletions
diff --git a/cpukit/sapi/include/rtems/rbtree.h b/cpukit/sapi/include/rtems/rbtree.h index 4d8007356e..26041890b2 100644 --- a/cpukit/sapi/include/rtems/rbtree.h +++ b/cpukit/sapi/include/rtems/rbtree.h @@ -82,19 +82,23 @@ typedef RBTree_Compare rtems_rbtree_compare; * This routine initializes @a the_rbtree structure to manage the * contiguous array of @a number_nodes nodes which starts at * @a starting_address. Each node is of @a node_size bytes. - */ -RTEMS_INLINE_ROUTINE void rtems_rbtree_initialize( + * + * @param[in] the_rbtree is the pointer to rbtree header + * @param[in] compare The node compare function. + * @param[in] starting_address is the starting address of first node + * @param[in] number_nodes is the number of nodes in rbtree + * @param[in] node_size is the size of node in bytes + * @param[in] is_unique If true, then reject nodes with a duplicate key, else + * otherwise. + */ +void rtems_rbtree_initialize( rtems_rbtree_control *the_rbtree, rtems_rbtree_compare compare, void *starting_address, size_t number_nodes, size_t node_size, bool is_unique -) -{ - _RBTree_Initialize( the_rbtree, compare, starting_address, - number_nodes, node_size, is_unique); -} +); /** * @brief Initialize this RBTree as Empty |