Changeset 52e70cf in rtems


Ignore:
Timestamp:
Jan 7, 2008, 3:28:31 PM (12 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.9, master
Children:
1ccbd63a
Parents:
14a64dc5
Message:

2008-01-07 Joel Sherrill <joel.sherrill@…>

  • score/src/threadget.c: Use _Objects_Is_api_valid rather than open coding it.
Location:
cpukit
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • cpukit/ChangeLog

    r14a64dc5 r52e70cf  
     12008-01-07      Joel Sherrill <joel.sherrill@oarcorp.com>
     2
     3        * score/src/threadget.c: Use _Objects_Is_api_valid rather than open
     4        coding it.
     5
    162008-01-05      Chris Johns <chrisj@rtems.org>
    27
  • cpukit/score/src/threadget.c

    r14a64dc5 r52e70cf  
    6565 
    6666  the_api = _Objects_Get_API( id );
    67   if ( the_api && the_api > OBJECTS_APIS_LAST ) {
     67  if ( !_Objects_Is_api_valid( the_api ) ) {
    6868    *location = OBJECTS_ERROR;
    6969    goto done;
     
    7777 
    7878  information = _Objects_Information_table[ the_api ][ the_class ];
    79  
    8079  if ( !information ) {
    8180    *location = OBJECTS_ERROR;
Note: See TracChangeset for help on using the changeset viewer.