Changeset c43b34c in rtems for cpukit/score/macros


Ignore:
Timestamp:
Mar 11, 1997, 3:42:14 PM (23 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
6335022
Parents:
0302021
Message:

modified _Chain_Insert_unprotected to have the form required to be used
as the sole statement in an if or else statement

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/score/macros/rtems/score/chain.inl

    r0302021 rc43b34c  
    155155
    156156#define _Chain_Insert_unprotected( _after_node, _the_node ) \
    157 {  \
     157do {  \
    158158  Chain_Node *_before_node; \
    159159   \
     
    163163  (_the_node)->next      = _before_node;  \
    164164  _before_node->previous = (_the_node);  \
    165 }
     165} while (0)
    166166
    167167/*PAGE
Note: See TracChangeset for help on using the changeset viewer.