diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2014-08-02 16:22:31 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2014-08-05 09:30:33 +0200 |
commit | 40dcafaf80a29c20d74594853a8ff04441eabd9c (patch) | |
tree | 1541f69ee011198bd995f38069a2b1300fc4de76 /cpukit/sapi/include/rtems/rbheap.h | |
parent | rbtree: Rename find header in find control (diff) | |
download | rtems-40dcafaf80a29c20d74594853a8ff04441eabd9c.tar.bz2 |
Add and use RTEMS_CONTAINER_OF()
Diffstat (limited to 'cpukit/sapi/include/rtems/rbheap.h')
-rw-r--r-- | cpukit/sapi/include/rtems/rbheap.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/sapi/include/rtems/rbheap.h b/cpukit/sapi/include/rtems/rbheap.h index 7c44f11e72..0848b69eb7 100644 --- a/cpukit/sapi/include/rtems/rbheap.h +++ b/cpukit/sapi/include/rtems/rbheap.h @@ -254,7 +254,7 @@ void rtems_rbheap_extend_descriptors_with_malloc( /* Private API */ #define rtems_rbheap_chunk_of_node(node) \ - rtems_rbtree_container_of(node, rtems_rbheap_chunk, tree_node) + RTEMS_CONTAINER_OF(node, rtems_rbheap_chunk, tree_node) static inline bool rtems_rbheap_is_chunk_free(const rtems_rbheap_chunk *chunk) { |