diff options
Diffstat (limited to 'cpukit/libcsupport/src/malloc_p.h')
-rw-r--r-- | cpukit/libcsupport/src/malloc_p.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/cpukit/libcsupport/src/malloc_p.h b/cpukit/libcsupport/src/malloc_p.h index cb26050ff1..4487b02960 100644 --- a/cpukit/libcsupport/src/malloc_p.h +++ b/cpukit/libcsupport/src/malloc_p.h @@ -9,6 +9,9 @@ * http://www.rtems.org/license/LICENSE. */ +#ifndef _MALLOC_P +#define _MALLOC_P + #include <rtems.h> #include <rtems/score/protectedheap.h> #include <rtems/malloc.h> @@ -17,6 +20,8 @@ extern "C" { #endif /* __cplusplus */ + + typedef enum { MALLOC_SYSTEM_STATE_NORMAL, MALLOC_SYSTEM_STATE_NO_PROTECTION, @@ -30,3 +35,5 @@ void _Malloc_Process_deferred_frees( void ); #ifdef __cplusplus } #endif /* __cplusplus */ + +#endif /* _MALLOC_P */ |