From adfc907570170c678b3531c3f4cc690911acabd1 Mon Sep 17 00:00:00 2001 From: Ralf Corsepius Date: Wed, 7 Dec 2011 07:11:31 +0000 Subject: =?UTF-8?q?2011-12-07=09Ralf=20Cors=C3=A9pius=20?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * rtems/src/workspace.c: Include (Missing prototypes). --- cpukit/ChangeLog | 5 +++++ cpukit/rtems/src/workspace.c | 5 +++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/cpukit/ChangeLog b/cpukit/ChangeLog index 91faf5363c..8ded7fc6b5 100644 --- a/cpukit/ChangeLog +++ b/cpukit/ChangeLog @@ -1,3 +1,8 @@ +2011-12-07 Ralf Corsépius + + * rtems/src/workspace.c: + Include (Missing prototypes). + 2011-12-07 Ralf Corsépius PR 1983/networking 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 #include #include +#include #include /* 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; -- cgit v1.2.3