diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2013-07-24 11:09:23 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2013-07-24 11:11:21 +0200 |
commit | 39046f766f170748acdb7f55f79a681a09552698 (patch) | |
tree | 9165005f4b957b65bfc4bcc7afc10381b8809af4 /cpukit/libcsupport/src | |
parent | libtests/malloctest: Fixes for RTEMS_DEBUG (diff) | |
download | rtems-39046f766f170748acdb7f55f79a681a09552698.tar.bz2 |
score: Merge sysstate API into one file
Diffstat (limited to 'cpukit/libcsupport/src')
-rw-r--r-- | cpukit/libcsupport/src/error.c | 1 | ||||
-rw-r--r-- | cpukit/libcsupport/src/free.c | 2 | ||||
-rw-r--r-- | cpukit/libcsupport/src/malloc.c | 2 | ||||
-rw-r--r-- | cpukit/libcsupport/src/realloc.c | 2 | ||||
-rw-r--r-- | cpukit/libcsupport/src/rtems_malloc.c | 2 | ||||
-rw-r--r-- | cpukit/libcsupport/src/rtems_memalign.c | 2 |
6 files changed, 11 insertions, 0 deletions
diff --git a/cpukit/libcsupport/src/error.c b/cpukit/libcsupport/src/error.c index a77dfbbb34..6993ea144b 100644 --- a/cpukit/libcsupport/src/error.c +++ b/cpukit/libcsupport/src/error.c @@ -19,6 +19,7 @@ #include <rtems/error.h> #include <rtems/assoc.h> +#include <rtems/score/sysstate.h> #include <inttypes.h> #include <stdio.h> #include <stdarg.h> diff --git a/cpukit/libcsupport/src/free.c b/cpukit/libcsupport/src/free.c index 4e31555a5e..47836fcb09 100644 --- a/cpukit/libcsupport/src/free.c +++ b/cpukit/libcsupport/src/free.c @@ -22,6 +22,8 @@ #include "malloc_p.h" #include <stdlib.h> +#include <rtems/score/sysstate.h> + void free( void *ptr ) diff --git a/cpukit/libcsupport/src/malloc.c b/cpukit/libcsupport/src/malloc.c index f79e3bb4f7..3b267b94d4 100644 --- a/cpukit/libcsupport/src/malloc.c +++ b/cpukit/libcsupport/src/malloc.c @@ -24,6 +24,8 @@ #include "malloc_p.h" +#include <rtems/score/sysstate.h> + void *malloc( size_t size ) diff --git a/cpukit/libcsupport/src/realloc.c b/cpukit/libcsupport/src/realloc.c index 566ecbf6c7..f9b2674f14 100644 --- a/cpukit/libcsupport/src/realloc.c +++ b/cpukit/libcsupport/src/realloc.c @@ -24,6 +24,8 @@ #include <errno.h> #include <string.h> +#include <rtems/score/sysstate.h> + void *realloc( void *ptr, size_t size diff --git a/cpukit/libcsupport/src/rtems_malloc.c b/cpukit/libcsupport/src/rtems_malloc.c index b4b3acacc8..5eb1ea1505 100644 --- a/cpukit/libcsupport/src/rtems_malloc.c +++ b/cpukit/libcsupport/src/rtems_malloc.c @@ -26,6 +26,8 @@ #ifdef RTEMS_NEWLIB #include "malloc_p.h" +#include <rtems/score/sysstate.h> + void *rtems_heap_allocate_aligned_with_boundary( size_t size, uintptr_t alignment, diff --git a/cpukit/libcsupport/src/rtems_memalign.c b/cpukit/libcsupport/src/rtems_memalign.c index 64bb489dae..f3dbce46cc 100644 --- a/cpukit/libcsupport/src/rtems_memalign.c +++ b/cpukit/libcsupport/src/rtems_memalign.c @@ -24,6 +24,8 @@ #include <stdlib.h> #include <errno.h> +#include <rtems/score/sysstate.h> + int rtems_memalign( void **pointer, size_t alignment, |