diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2020-04-07 13:59:14 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2022-09-22 08:34:08 +0200 |
commit | cebc2f8db06fff5f6bad8a7d99fd17221111a465 (patch) | |
tree | 53c470b8bb2be3e75e370f3766a4a76b65fb46e7 /cpukit/libcsupport/src/malloc_deferred.c | |
parent | cb1629b08bd0f7aaa77b9b2a92946caad8e3a11e (diff) |
build: FIXME introduce pre-qualified parts
Diffstat (limited to 'cpukit/libcsupport/src/malloc_deferred.c')
-rw-r--r-- | cpukit/libcsupport/src/malloc_deferred.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/cpukit/libcsupport/src/malloc_deferred.c b/cpukit/libcsupport/src/malloc_deferred.c index f8efe8ed22..64e141c95a 100644 --- a/cpukit/libcsupport/src/malloc_deferred.c +++ b/cpukit/libcsupport/src/malloc_deferred.c @@ -40,7 +40,8 @@ #include "config.h" #endif -#ifdef RTEMS_NEWLIB +#if defined( RTEMS_NEWLIB ) && \ + ( !defined( RTEMS_QUAL ) || defined( INCLUDED_BY_FREE ) ) #include <stdlib.h> #include <string.h> @@ -66,6 +67,7 @@ Malloc_System_state _Malloc_System_state( void ) } } +#if !defined( INCLUDED_BY_FREE ) RTEMS_WEAK void _Malloc_Process_deferred_frees( void ) { /* @@ -73,6 +75,7 @@ RTEMS_WEAK void _Malloc_Process_deferred_frees( void ) * strong implementation of this function will be provided. */ } +#endif void *rtems_heap_allocate_aligned_with_boundary( size_t size, |