diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2011-12-07 07:11:31 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2011-12-07 07:11:31 +0000 |
commit | adfc907570170c678b3531c3f4cc690911acabd1 (patch) | |
tree | 111bac6e4d936021d499eb95a566288bb87c96ec /cpukit/rtems/src/workspace.c | |
parent | 2011-12-07 Ralf Corsépius <ralf.corsepius@rtems.org> (diff) | |
download | rtems-adfc907570170c678b3531c3f4cc690911acabd1.tar.bz2 |
2011-12-07 Ralf Corsépius <ralf.corsepius@rtems.org>
* rtems/src/workspace.c:
Include <rtems/rtems/support.h> (Missing prototypes).
Diffstat (limited to '')
-rw-r--r-- | cpukit/rtems/src/workspace.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/cpukit/rtems/src/workspace.c b/cpukit/rtems/src/workspace.c index e6394aca86..3a3d086858 100644 --- a/cpukit/rtems/src/workspace.c +++ b/cpukit/rtems/src/workspace.c @@ -20,6 +20,7 @@ #include <rtems/score/protectedheap.h> #include <rtems/score/interr.h> #include <rtems/config.h> +#include <rtems/rtems/support.h> #include <string.h> /* for memset */ @@ -37,7 +38,7 @@ bool rtems_workspace_get_information( * _Workspace_Allocate */ bool rtems_workspace_allocate( - uintptr_t bytes, + size_t bytes, void **pointer ) { @@ -55,7 +56,7 @@ bool rtems_workspace_allocate( /* * Allocate the memory */ - ptr = _Protected_heap_Allocate( &_Workspace_Area, (intptr_t) bytes ); + ptr = _Protected_heap_Allocate( &_Workspace_Area, bytes ); if (!ptr) return false; |