summaryrefslogtreecommitdiff
path: root/cpukit/libdl/rtl-alloc-heap.h
diff options
context:
space:
mode:
authorChris Johns <chrisj@rtems.org>2019-02-14 14:00:05 +1100
committerChris Johns <chrisj@rtems.org>2019-02-15 09:55:16 +1100
commite309f7769fab9eed69079445a3f7f2354ea993c3 (patch)
treee35b359d70d487a5f6f2b2af624f9c49ac68c93b /cpukit/libdl/rtl-alloc-heap.h
parente214ff4b636011bd149e3683c89aa982e361fd1c (diff)
libdl: Allocator does not unlock and lock memory on loading.
Close #3692
Diffstat (limited to 'cpukit/libdl/rtl-alloc-heap.h')
-rw-r--r--cpukit/libdl/rtl-alloc-heap.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpukit/libdl/rtl-alloc-heap.h b/cpukit/libdl/rtl-alloc-heap.h
index befcad19b0..6b7018b400 100644
--- a/cpukit/libdl/rtl-alloc-heap.h
+++ b/cpukit/libdl/rtl-alloc-heap.h
@@ -25,7 +25,7 @@ extern "C" {
/**
* Allocator handler for the standard libc heap.
*
- * @param allocation If true the request is to allocate memory else free.
+ * @param cmd The allocation command.
* @param tag The type of allocation request.
* @param address Pointer to the memory address. If an allocation the value is
* unspecific on entry and the allocated address or NULL on
@@ -35,7 +35,7 @@ extern "C" {
* @param size The size of the allocation if an allocation request and
* not used if deleting or freeing a previous allocation.
*/
-void rtems_rtl_alloc_heap(bool allocate,
+void rtems_rtl_alloc_heap(rtems_rtl_alloc_cmd cmd,
rtems_rtl_alloc_tag tag,
void** address,
size_t size);