diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2016-02-25 09:05:40 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2016-02-25 09:06:07 +0100 |
commit | 287a70f935f92a35b19b315b2cb56839ecd5bfe9 (patch) | |
tree | cea22fb663b4a34554615104764097eea8bd31a6 /cpukit/libcsupport/src/malloc_p.h | |
parent | psxtests/psxualarm: Add test cases (diff) | |
download | rtems-287a70f935f92a35b19b315b2cb56839ecd5bfe9.tar.bz2 |
malloc: Clean up "malloc_p.h" header file
Diffstat (limited to 'cpukit/libcsupport/src/malloc_p.h')
-rw-r--r-- | cpukit/libcsupport/src/malloc_p.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/cpukit/libcsupport/src/malloc_p.h b/cpukit/libcsupport/src/malloc_p.h index 89adc5fdfe..6609526fa8 100644 --- a/cpukit/libcsupport/src/malloc_p.h +++ b/cpukit/libcsupport/src/malloc_p.h @@ -10,16 +10,12 @@ */ #include <rtems.h> -#include <rtems/libcsupport.h> #include <rtems/score/protectedheap.h> #include <rtems/malloc.h> -#ifdef RTEMS_NEWLIB -#include <sys/reent.h> -#endif - -#include <stdint.h> -#include <rtems/chain.h> +#ifdef __cplusplus +extern "C" { +#endif /* __cplusplus */ /* * Process deferred free operations @@ -27,3 +23,7 @@ bool malloc_is_system_state_OK(void); void malloc_deferred_frees_process(void); void malloc_deferred_free(void *); + +#ifdef __cplusplus +} +#endif /* __cplusplus */ |