Changeset 23de794d in rtems for cpukit/sapi


Ignore:
Timestamp:
Aug 26, 2013, 12:27:52 PM (6 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
4.11, master
Children:
58a5889
Parents:
d56f76a
git-author:
Sebastian Huber <sebastian.huber@…> (08/26/13 12:27:52)
git-committer:
Sebastian Huber <sebastian.huber@…> (08/27/13 08:48:16)
Message:

score: Add and use CHAIN_INITIALIZER_ONE_NODE().

Add and use CHAIN_NODE_INITIALIZER_ONE_NODE_CHAIN(),
RTEMS_CHAIN_INITIALIZER_ONE_NODE() and
RTEMS_CHAIN_NODE_INITIALIZER_ONE_NODE_CHAIN().

File:
1 edited

Legend:

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

    rd56f76a r23de794d  
    4444#define RTEMS_CHAIN_INITIALIZER_EMPTY(name) \
    4545  CHAIN_INITIALIZER_EMPTY(name)
     46
     47/**
     48 *  @brief Chain initializer for a chain with one @a node.
     49 *
     50 *  @see RTEMS_CHAIN_NODE_INITIALIZER_ONE_NODE_CHAIN().
     51 */
     52#define RTEMS_CHAIN_INITIALIZER_ONE_NODE( node ) \
     53  CHAIN_INITIALIZER_ONE_NODE( node )
     54
     55/**
     56 *  @brief Chain node initializer for a @a chain containing exactly this node.
     57 *
     58 *  @see RTEMS_CHAIN_INITIALIZER_ONE_NODE().
     59 */
     60#define RTEMS_CHAIN_NODE_INITIALIZER_ONE_NODE_CHAIN( chain ) \
     61  CHAIN_NODE_INITIALIZER_ONE_NODE_CHAIN( chain )
    4662
    4763/**
Note: See TracChangeset for help on using the changeset viewer.