Changeset ddb6a49b in rtems


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

rbtree: Delete _RBTree_Initialize()

This function has no internal use case.

Location:
cpukit
Files:
1 added
1 deleted
4 edited

Legend:

Unmodified
Added
Removed
  • cpukit/sapi/Makefile.am

    rb9877ee rddb6a49b  
    4040libsapi_a_SOURCES += src/delayticks.c
    4141libsapi_a_SOURCES += src/delaynano.c
     42libsapi_a_SOURCES += src/rbtree.c
    4243libsapi_a_SOURCES += src/profilingiterate.c
    4344libsapi_a_SOURCES += src/profilingreportxml.c
  • cpukit/sapi/include/rtems/rbtree.h

    rb9877ee rddb6a49b  
    8383 * contiguous array of @a number_nodes nodes which starts at
    8484 * @a starting_address.  Each node is of @a node_size bytes.
    85  */
    86 RTEMS_INLINE_ROUTINE void rtems_rbtree_initialize(
     85 *
     86 * @param[in] the_rbtree is the pointer to rbtree header
     87 * @param[in] compare The node compare function.
     88 * @param[in] starting_address is the starting address of first node
     89 * @param[in] number_nodes is the number of nodes in rbtree
     90 * @param[in] node_size is the size of node in bytes
     91 * @param[in] is_unique If true, then reject nodes with a duplicate key, else
     92 *   otherwise.
     93 */
     94void rtems_rbtree_initialize(
    8795  rtems_rbtree_control *the_rbtree,
    8896  rtems_rbtree_compare  compare,
     
    9199  size_t                node_size,
    92100  bool                  is_unique
    93 )
    94 {
    95   _RBTree_Initialize( the_rbtree, compare, starting_address,
    96     number_nodes, node_size, is_unique);
    97 }
     101);
    98102
    99103/**
  • cpukit/score/Makefile.am

    rb9877ee rddb6a49b  
    284284
    285285## RBTREE_C_FILES
    286 libscore_a_SOURCES += src/rbtree.c \
     286libscore_a_SOURCES += \
    287287    src/rbtreeextract.c src/rbtreefind.c \
    288288    src/rbtreeinsert.c src/rbtreeiterate.c src/rbtreenext.c
  • cpukit/score/include/rtems/score/rbtree.h

    rb9877ee rddb6a49b  
    170170
    171171/**
    172  *  @brief Initialize a RBTree Header.
    173  *
    174  *  This routine initializes @a the_rbtree structure to manage the
    175  *  contiguous array of @a number_nodes nodes which starts at
    176  *  @a starting_address.  Each node is of @a node_size bytes.
    177  *
    178  *  @param[in] the_rbtree is the pointer to rbtree header
    179  *  @param[in] compare The node compare function.
    180  *  @param[in] starting_address is the starting address of first node
    181  *  @param[in] number_nodes is the number of nodes in rbtree
    182  *  @param[in] node_size is the size of node in bytes
    183  *  @param[in] is_unique If true, then reject nodes with a duplicate key, else
    184  *    otherwise.
    185  */
    186 void _RBTree_Initialize(
    187   RBTree_Control *the_rbtree,
    188   RBTree_Compare  compare,
    189   void           *starting_address,
    190   size_t          number_nodes,
    191   size_t          node_size,
    192   bool            is_unique
    193 );
    194 
    195 /**
    196172 * @brief Tries to find a node for the specified key in the tree.
    197173 *
Note: See TracChangeset for help on using the changeset viewer.