diff options
Diffstat (limited to 'sal/rtl')
-rw-r--r-- | sal/rtl/alloc_arena.cxx | 2 | ||||
-rw-r--r-- | sal/rtl/alloc_cache.cxx | 8 |
2 files changed, 5 insertions, 5 deletions
diff --git a/sal/rtl/alloc_arena.cxx b/sal/rtl/alloc_arena.cxx index 68dd29836ef5..1459c06816d6 100644 --- a/sal/rtl/alloc_arena.cxx +++ b/sal/rtl/alloc_arena.cxx @@ -596,7 +596,7 @@ rtl_arena_constructor (void * obj) QUEUE_START_NAMED(arena, arena_); - (void) RTL_MEMORY_LOCK_INIT(&(arena->m_lock)); + RTL_MEMORY_LOCK_INIT(&(arena->m_lock)); head = &(arena->m_segment_reserve_span_head); rtl_arena_segment_constructor (head); diff --git a/sal/rtl/alloc_cache.cxx b/sal/rtl/alloc_cache.cxx index 1529626e0537..79c8e76e8ca3 100644 --- a/sal/rtl/alloc_cache.cxx +++ b/sal/rtl/alloc_cache.cxx @@ -736,7 +736,7 @@ rtl_cache_constructor (void * obj) QUEUE_START_NAMED(cache, cache_); /* slab layer */ - (void)RTL_MEMORY_LOCK_INIT(&(cache->m_slab_lock)); + RTL_MEMORY_LOCK_INIT(&(cache->m_slab_lock)); QUEUE_START_NAMED(&(cache->m_free_head), slab_); QUEUE_START_NAMED(&(cache->m_used_head), slab_); @@ -746,7 +746,7 @@ rtl_cache_constructor (void * obj) cache->m_hash_shift = highbit(cache->m_hash_size) - 1; /* depot layer */ - (void)RTL_MEMORY_LOCK_INIT(&(cache->m_depot_lock)); + RTL_MEMORY_LOCK_INIT(&(cache->m_depot_lock)); return 1; } @@ -762,7 +762,7 @@ rtl_cache_destructor (void * obj) assert(QUEUE_STARTED_NAMED(cache, cache_)); /* slab layer */ - (void)RTL_MEMORY_LOCK_DESTROY(&(cache->m_slab_lock)); + RTL_MEMORY_LOCK_DESTROY(&(cache->m_slab_lock)); assert(QUEUE_STARTED_NAMED(&(cache->m_free_head), slab_)); assert(QUEUE_STARTED_NAMED(&(cache->m_used_head), slab_)); @@ -772,7 +772,7 @@ rtl_cache_destructor (void * obj) assert(cache->m_hash_shift == highbit(cache->m_hash_size) - 1); /* depot layer */ - (void)RTL_MEMORY_LOCK_DESTROY(&(cache->m_depot_lock)); + RTL_MEMORY_LOCK_DESTROY(&(cache->m_depot_lock)); } /* ================================================================= */ |