summaryrefslogtreecommitdiffstats
path: root/tools/schedsim/rtems/wkspace.c
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2011-04-07 18:12:39 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2011-04-07 18:12:39 +0000
commite69369c7cdb50bd8ddf93b231bfd101be5d7082c (patch)
treede73305358cf05f2cdccba268063e2f5b38de07e /tools/schedsim/rtems/wkspace.c
parent2011-04-07 Joel Sherrill <joel.sherrill@oarcorp.com> (diff)
downloadrtems-e69369c7cdb50bd8ddf93b231bfd101be5d7082c.tar.bz2
2011-04-07 Joel Sherrill <joel.sherrill@oarcorp.com>
* Makefile.am, wkspace.c: Compiles now and do not core dump when RTEMS is not initialized.
Diffstat (limited to '')
-rw-r--r--tools/schedsim/rtems/wkspace.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/tools/schedsim/rtems/wkspace.c b/tools/schedsim/rtems/wkspace.c
index beb86184c6..f4209d5f73 100644
--- a/tools/schedsim/rtems/wkspace.c
+++ b/tools/schedsim/rtems/wkspace.c
@@ -60,7 +60,7 @@ void *_Workspace_Allocate(
/*
* _Workspace_Free
*/
-bool _Workspace_Free(
+void _Workspace_Free(
void *block
)
{
@@ -73,7 +73,6 @@ bool _Workspace_Free(
);
#endif
free( block );
- return true;
}
/*