From 45819022cee43c0cef9146ccd10aaf20f99b489b Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Wed, 16 Aug 1995 19:42:41 +0000 Subject: bug fixes to make macro implementations work --- c/src/exec/score/macros/wkspace.inl | 26 +------------------------- 1 file changed, 1 insertion(+), 25 deletions(-) (limited to 'c/src/exec/score/macros/wkspace.inl') diff --git a/c/src/exec/score/macros/wkspace.inl b/c/src/exec/score/macros/wkspace.inl index 3c516bfb93..d50bc110fb 100644 --- a/c/src/exec/score/macros/wkspace.inl +++ b/c/src/exec/score/macros/wkspace.inl @@ -11,7 +11,7 @@ * to the copyright license under the clause at DFARS 252.227-7013. This * notice must appear in all copies of this file and its derivatives. * - * $Id$ + * wkspace.inl,v 1.2 1995/05/31 16:49:53 joel Exp */ #ifndef __WORKSPACE_inl @@ -64,30 +64,6 @@ #define _Workspace_Allocate( _size ) \ _Heap_Allocate( &_Workspace_Area, (_size) ) -/*PAGE - * - * _Workspace_Allocate_or_fatal_error - * - * NOTE: XXX FIX ME - * - * When not using static inlines, this should really be a function - * somewhere. - */ - -static inline void _Workspace_Allocate_or_fatal_error( - unsigned32 size -) -{ - void *memory; - - memory = _Workspace_Allocate( size ); - - if ( memory == NULL ) - rtems_fatal_error_occurred( RTEMS_UNSATISFIED ); - - return memory; -} - /*PAGE * * _Workspace_Free -- cgit v1.2.3