Changeset 796f12a in rtems


Ignore:
Timestamp:
Aug 19, 2016, 11:37:01 AM (3 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
master
Children:
83b0229
Parents:
1dd8fff
git-author:
Sebastian Huber <sebastian.huber@…> (08/19/16 11:37:01)
git-committer:
Sebastian Huber <sebastian.huber@…> (09/06/16 08:52:19)
Message:

score: Add missing const qualifiers

Location:
cpukit
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • cpukit/sapi/include/rtems/chain.h

    r1dd8fff r796f12a  
    313313 */
    314314RTEMS_INLINE_ROUTINE rtems_chain_node *rtems_chain_first(
    315   rtems_chain_control *the_chain
     315  const rtems_chain_control *the_chain
    316316)
    317317{
     
    347347 */
    348348RTEMS_INLINE_ROUTINE rtems_chain_node *rtems_chain_last(
    349   rtems_chain_control *the_chain
     349  const rtems_chain_control *the_chain
    350350)
    351351{
     
    380380 */
    381381RTEMS_INLINE_ROUTINE rtems_chain_node *rtems_chain_next(
    382   rtems_chain_node *the_node
     382  const rtems_chain_node *the_node
    383383)
    384384{
     
    412412 */
    413413RTEMS_INLINE_ROUTINE rtems_chain_node *rtems_chain_previous(
    414   rtems_chain_node *the_node
     414  const rtems_chain_node *the_node
    415415)
    416416{
  • cpukit/score/include/rtems/score/chainimpl.h

    r1dd8fff r796f12a  
    257257 */
    258258RTEMS_INLINE_ROUTINE Chain_Node *_Chain_First(
    259   Chain_Control *the_chain
    260 )
    261 {
    262   return _Chain_Head( the_chain )->next;
     259  const Chain_Control *the_chain
     260)
     261{
     262  return _Chain_Immutable_head( the_chain )->next;
    263263}
    264264
     
    291291 */
    292292RTEMS_INLINE_ROUTINE Chain_Node *_Chain_Last(
    293   Chain_Control *the_chain
    294 )
    295 {
    296   return _Chain_Tail( the_chain )->previous;
     293  const Chain_Control *the_chain
     294)
     295{
     296  return _Chain_Immutable_tail( the_chain )->previous;
    297297}
    298298
     
    324324 */
    325325RTEMS_INLINE_ROUTINE Chain_Node *_Chain_Next(
    326   Chain_Node *the_node
     326  const Chain_Node *the_node
    327327)
    328328{
     
    356356 */
    357357RTEMS_INLINE_ROUTINE Chain_Node *_Chain_Previous(
    358   Chain_Node *the_node
     358  const Chain_Node *the_node
    359359)
    360360{
Note: See TracChangeset for help on using the changeset viewer.