diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2015-08-21 05:24:17 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2015-08-31 09:59:42 +0200 |
commit | 2d48456ef55717224065d21c6c3b837c816a69c1 (patch) | |
tree | 9b2d7a4d9894280bfb2fee6e9fedd1b3c99e0560 /cpukit/libcsupport | |
parent | rbtree: Delete _RBTree_Is_first() (diff) | |
download | rtems-2d48456ef55717224065d21c6c3b837c816a69c1.tar.bz2 |
rbheap: Drop direction from _RBTree_Iterate()
Diffstat (limited to 'cpukit/libcsupport')
-rw-r--r-- | cpukit/libcsupport/src/resource_snapshot.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/cpukit/libcsupport/src/resource_snapshot.c b/cpukit/libcsupport/src/resource_snapshot.c index 5475139535..d6f2e4606e 100644 --- a/cpukit/libcsupport/src/resource_snapshot.c +++ b/cpukit/libcsupport/src/resource_snapshot.c @@ -107,14 +107,12 @@ static void get_heap_info(Heap_Control *heap, Heap_Information_block *info) static bool count_posix_key_value_pairs( const RBTree_Node *node, - RBTree_Direction dir, void *visitor_arg ) { uint32_t *count = visitor_arg; (void) node; - (void) dir; ++(*count); @@ -128,7 +126,6 @@ static uint32_t get_active_posix_key_value_pairs(void) _Thread_Disable_dispatch(); _RBTree_Iterate( &_POSIX_Keys_Key_value_lookup_tree, - RBT_LEFT, count_posix_key_value_pairs, &count ); |