2011-12-07 Ralf Corsépius <ralf.corsepius@rtems.org>

* rtems/src/workspace.c:
 	Include <rtems/rtems/support.h> (Missing prototypes).
This commit is contained in:
Ralf Corsepius
2011-12-07 07:11:31 +00:00
parent a1399ba8cd
commit adfc907570
2 changed files with 8 additions and 2 deletions
+5
View File
@@ -1,3 +1,8 @@
2011-12-07 Ralf Corsépius <ralf.corsepius@rtems.org>
* rtems/src/workspace.c:
Include <rtems/rtems/support.h> (Missing prototypes).
2011-12-07 Ralf Corsépius <ralf.corsepius@rtems.org>
PR 1983/networking
+3 -2
View File
@@ -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;