aboutsummaryrefslogtreecommitdiff
path: root/jerry-core/jmem/jmem-heap.c
diff options
context:
space:
mode:
Diffstat (limited to 'jerry-core/jmem/jmem-heap.c')
-rw-r--r--jerry-core/jmem/jmem-heap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/jerry-core/jmem/jmem-heap.c b/jerry-core/jmem/jmem-heap.c
index a0c75d4c..3527b65c 100644
--- a/jerry-core/jmem/jmem-heap.c
+++ b/jerry-core/jmem/jmem-heap.c
@@ -400,7 +400,7 @@ jmem_heap_gc_and_alloc_block (const size_t size, /**< required memory size
* @return NULL, if the required memory is 0
* pointer to allocated memory block, otherwise
*/
-void * __attr_hot___ __attr_always_inline___
+inline void * __attr_hot___ __attr_always_inline___
jmem_heap_alloc_block (const size_t size) /**< required memory size */
{
return jmem_heap_gc_and_alloc_block (size, false);
@@ -416,7 +416,7 @@ jmem_heap_alloc_block (const size_t size) /**< required memory size */
* also NULL, if the allocation has failed
* pointer to the allocated memory block, otherwise
*/
-void * __attr_hot___ __attr_always_inline___
+inline void * __attr_hot___ __attr_always_inline___
jmem_heap_alloc_block_null_on_error (const size_t size) /**< required memory size */
{
return jmem_heap_gc_and_alloc_block (size, true);