Changeset fcbefb5 in rtems


Ignore:
Timestamp:
Jan 28, 2021, 8:48:21 AM (12 months ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
master
Children:
f8b6359
Parents:
b361eabd
git-author:
Sebastian Huber <sebastian.huber@…> (01/28/21 08:48:21)
git-committer:
Sebastian Huber <sebastian.huber@…> (01/28/21 08:58:03)
Message:

rtems: Use _Status_Get()

This fixes implicit conversions between different enum types.

Location:
cpukit/rtems/src
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • cpukit/rtems/src/clockset.c

    rb361eabd rfcbefb5  
    2222
    2323#include <rtems/rtems/clockimpl.h>
     24#include <rtems/rtems/statusimpl.h>
    2425#include <rtems/score/todimpl.h>
    2526#include <rtems/config.h>
     
    4748    _TOD_Unlock();
    4849
    49     return STATUS_GET_CLASSIC( status );
     50    return _Status_Get( status );
    5051  }
    5152
  • cpukit/rtems/src/msgqconstruct.c

    rb361eabd rfcbefb5  
    2323#include <rtems/rtems/messageimpl.h>
    2424#include <rtems/rtems/attrimpl.h>
     25#include <rtems/rtems/statusimpl.h>
    2526#include <rtems/rtems/support.h>
    2627#include <rtems/score/coremsgimpl.h>
     
    155156    _Message_queue_Free( the_message_queue );
    156157    _Objects_Allocator_unlock();
    157     return STATUS_GET_CLASSIC( status );
     158    return _Status_Get( status );
    158159  }
    159160
  • cpukit/rtems/src/rtemsobjectsetname.c

    rb361eabd rfcbefb5  
    2222
    2323#include <rtems/rtems/object.h>
     24#include <rtems/rtems/statusimpl.h>
    2425#include <rtems/rtems/tasks.h>
    2526#include <rtems/score/objectimpl.h>
     
    5960  status = _Objects_Set_name( information, the_object, name );
    6061  _Objects_Allocator_unlock();
    61   return STATUS_GET_CLASSIC( status );
     62  return _Status_Get( status );
    6263}
Note: See TracChangeset for help on using the changeset viewer.