Changeset 9ed7103 in rtems


Ignore:
Timestamp:
09/22/22 12:57:18 (15 months ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
master
Children:
a3717de
Parents:
acf1e5b2
git-author:
Sebastian Huber <sebastian.huber@…> (09/22/22 12:57:18)
git-committer:
Sebastian Huber <sebastian.huber@…> (09/23/22 09:14:58)
Message:

score: Simplify Chain_Node definition

Fix documentation.

File:
1 edited

Legend:

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

    racf1e5b2 r9ed7103  
    6262
    6363/**
    64  *  @typedef Chain_Node
    65  *
    66  *  This type definition promotes the name for the Chain Node used by
    67  *  all RTEMS code.  It is a separate type definition because a forward
    68  *  reference is required to define it.  See @ref Chain_Node_struct for
    69  *  detailed information.
    70  */
    71 typedef struct Chain_Node_struct Chain_Node;
    72 
    73 /**
    74  *  @struct Chain_Node_struct
     64 *  @brief This structure represents a chain node.
    7565 *
    7666 *  This is used to manage each element (node) which is placed
     
    8676 *
    8777 */
    88 struct Chain_Node_struct {
     78typedef struct Chain_Node {
    8979  /** This points to the node after this one on this chain. */
    90   Chain_Node *next;
     80  struct Chain_Node *next;
    9181  /** This points to the node immediate prior to this one on this chain. */
    92   Chain_Node *previous;
    93 };
     82  struct Chain_Node *previous;
     83} Chain_Node;
    9484
    9585/**
    96  *  @struct Chain_Control
     86 * @brief This union represents a chain control block.
    9787 *
    9888 * This is used to manage a chain.  A chain consists of a doubly
Note: See TracChangeset for help on using the changeset viewer.