summaryrefslogtreecommitdiffstats
path: root/cpukit/include/rtems/mallocinitone.h
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2022-09-08 10:37:05 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2022-09-19 09:09:22 +0200
commita660e9dc47c522fe1a1b7f6e4af1795dbd6c20b1 (patch)
tree390cdbf3680f7549dc30fa78747f733c6010cb1e /cpukit/include/rtems/mallocinitone.h
parentvalidation: Test deadlock detection special case (diff)
downloadrtems-a660e9dc47c522fe1a1b7f6e4af1795dbd6c20b1.tar.bz2
Do not use RTEMS_INLINE_ROUTINE
Directly use "static inline" which is available in C99 and later. This brings the RTEMS implementation closer to standard C. Close #3935.
Diffstat (limited to 'cpukit/include/rtems/mallocinitone.h')
-rw-r--r--cpukit/include/rtems/mallocinitone.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/include/rtems/mallocinitone.h b/cpukit/include/rtems/mallocinitone.h
index eaa0d8eb3e..1e28df137c 100644
--- a/cpukit/include/rtems/mallocinitone.h
+++ b/cpukit/include/rtems/mallocinitone.h
@@ -54,7 +54,7 @@ extern "C" {
* This implementation should be used by BSPs which provide exactly one memory
* area via _Memory_Get() to implement _Workspace_Malloc_initialize_separate().
*/
-RTEMS_INLINE_ROUTINE Heap_Control *_Malloc_Initialize_for_one_area(
+static inline Heap_Control *_Malloc_Initialize_for_one_area(
Heap_Control *heap
)
{