Changeset 45819022 in rtems for cpukit/score/inline


Ignore:
Timestamp:
Aug 16, 1995, 7:42:41 PM (25 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
199fa36
Parents:
7285a016
Message:

bug fixes to make macro implementations work

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/score/inline/rtems/score/wkspace.inl

    r7285a016 r45819022  
    1212 *  notice must appear in all copies of this file and its derivatives.
    1313 *
    14  *  $Id$
     14 *  wkspace.inl,v 1.2 1995/05/31 16:48:49 joel Exp
    1515 */
    1616
     
    7070/*PAGE
    7171 *
    72  *  _Workspace_Allocate_or_fatal_error
    73  *
    74  */
    75 
    76 STATIC INLINE void *_Workspace_Allocate_or_fatal_error(
    77   unsigned32   size
    78 )
    79 {
    80   void        *memory;
    81 
    82   memory = _Workspace_Allocate( size );
    83 
    84   if ( memory == NULL )
    85     rtems_fatal_error_occurred( RTEMS_UNSATISFIED );
    86 
    87   return memory;
    88 }
    89 
    90 /*PAGE
    91  *
    9272 *  _Workspace_Free
    9373 *
Note: See TracChangeset for help on using the changeset viewer.