Changeset 42ed300 in rtems


Ignore:
Timestamp:
Jul 6, 2000, 7:01:58 PM (20 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
d895fe8
Parents:
04e4829
Message:

Format of return line changed.

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • c/src/exec/score/src/coremutexsurrender.c

    r04e4829 r42ed300  
    6464  if ( the_mutex->Attributes.only_owner_release ) {
    6565    if ( !_Thread_Is_executing( holder ) )
    66       return( CORE_MUTEX_STATUS_NOT_OWNER_OF_RESOURCE );
     66      return CORE_MUTEX_STATUS_NOT_OWNER_OF_RESOURCE;
    6767  }
    6868
     
    7070
    7171  if ( !the_mutex->nest_count )
    72     return( CORE_MUTEX_STATUS_SUCCESSFUL );
     72    return CORE_MUTEX_STATUS_SUCCESSFUL;
    7373
    7474  the_mutex->nest_count--;
     
    140140    the_mutex->lock = CORE_MUTEX_UNLOCKED;
    141141
    142   return( CORE_MUTEX_STATUS_SUCCESSFUL );
     142  return CORE_MUTEX_STATUS_SUCCESSFUL;
    143143}
    144144
  • cpukit/score/src/coremutexsurrender.c

    r04e4829 r42ed300  
    6464  if ( the_mutex->Attributes.only_owner_release ) {
    6565    if ( !_Thread_Is_executing( holder ) )
    66       return( CORE_MUTEX_STATUS_NOT_OWNER_OF_RESOURCE );
     66      return CORE_MUTEX_STATUS_NOT_OWNER_OF_RESOURCE;
    6767  }
    6868
     
    7070
    7171  if ( !the_mutex->nest_count )
    72     return( CORE_MUTEX_STATUS_SUCCESSFUL );
     72    return CORE_MUTEX_STATUS_SUCCESSFUL;
    7373
    7474  the_mutex->nest_count--;
     
    140140    the_mutex->lock = CORE_MUTEX_UNLOCKED;
    141141
    142   return( CORE_MUTEX_STATUS_SUCCESSFUL );
     142  return CORE_MUTEX_STATUS_SUCCESSFUL;
    143143}
    144144
Note: See TracChangeset for help on using the changeset viewer.