Changeset 45819022 in rtems for c/src/exec/score/inline


Ignore:
Timestamp:
08/16/95 19:42:41 (27 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
199fa36
Parents:
7285a016
Message:

bug fixes to make macro implementations work

Location:
c/src/exec/score/inline
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • c/src/exec/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 *
  • c/src/exec/score/inline/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.