diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2018-11-09 11:20:09 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2018-11-12 13:26:22 +0100 |
commit | c1f3c2b88a8bc902ec019a7fcf916af5674bc29b (patch) | |
tree | 80e9e0d0b3137d6ff6676a78b6fdc0ad8a775454 /cpukit/include/rtems/malloc.h | |
parent | x86_64: Remove use of proc_ptr (diff) | |
download | rtems-c1f3c2b88a8bc902ec019a7fcf916af5674bc29b.tar.bz2 |
score: Add and use malloc() family attributes
Update #3583.
Diffstat (limited to 'cpukit/include/rtems/malloc.h')
-rw-r--r-- | cpukit/include/rtems/malloc.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cpukit/include/rtems/malloc.h b/cpukit/include/rtems/malloc.h index 7c00f21e77..a6cfeb574f 100644 --- a/cpukit/include/rtems/malloc.h +++ b/cpukit/include/rtems/malloc.h @@ -138,7 +138,8 @@ void *rtems_heap_allocate_aligned_with_boundary( size_t size, uintptr_t alignment, uintptr_t boundary -); +) RTEMS_MALLOCLIKE RTEMS_ALLOC_SIZE(1) RTEMS_ALLOC_ALIGN(2) + RTEMS_WARN_UNUSED_RESULT; /** * @brief Extends the memory available for the heap using the memory area |