<div dir="ltr">OK I think.</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Sep 22, 2022 at 8:58 AM Sebastian Huber <<a href="mailto:sebastian.huber@embedded-brains.de">sebastian.huber@embedded-brains.de</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Fix documentation.<br>
---<br>
cpukit/include/rtems/score/chain.h | 22 ++++++----------------<br>
1 file changed, 6 insertions(+), 16 deletions(-)<br>
<br>
diff --git a/cpukit/include/rtems/score/chain.h b/cpukit/include/rtems/score/chain.h<br>
index 7414fdb697..95f2d2b2ef 100644<br>
--- a/cpukit/include/rtems/score/chain.h<br>
+++ b/cpukit/include/rtems/score/chain.h<br>
@@ -61,17 +61,7 @@ extern "C" {<br>
*/<br>
<br>
/**<br>
- * @typedef Chain_Node<br>
- *<br>
- * This type definition promotes the name for the Chain Node used by<br>
- * all RTEMS code. It is a separate type definition because a forward<br>
- * reference is required to define it. See @ref Chain_Node_struct for<br>
- * detailed information.<br>
- */<br>
-typedef struct Chain_Node_struct Chain_Node;<br>
-<br>
-/**<br>
- * @struct Chain_Node_struct<br>
+ * @brief This structure represents a chain node.<br>
*<br>
* This is used to manage each element (node) which is placed<br>
* on a chain.<br>
@@ -85,15 +75,15 @@ typedef struct Chain_Node_struct Chain_Node;<br>
* so the user can cast the pointers back and forth.<br>
*<br>
*/<br>
-struct Chain_Node_struct {<br>
+typedef struct Chain_Node {<br>
/** This points to the node after this one on this chain. */<br>
- Chain_Node *next;<br>
+ struct Chain_Node *next;<br>
/** This points to the node immediate prior to this one on this chain. */<br>
- Chain_Node *previous;<br>
-};<br>
+ struct Chain_Node *previous;<br>
+} Chain_Node;<br>
<br>
/**<br>
- * @struct Chain_Control<br>
+ * @brief This union represents a chain control block.<br>
*<br>
* This is used to manage a chain. A chain consists of a doubly<br>
* linked list of zero or more nodes.<br>
-- <br>
2.35.3<br>
<br>
_______________________________________________<br>
devel mailing list<br>
<a href="mailto:devel@rtems.org" target="_blank">devel@rtems.org</a><br>
<a href="http://lists.rtems.org/mailman/listinfo/devel" rel="noreferrer" target="_blank">http://lists.rtems.org/mailman/listinfo/devel</a><br>
</blockquote></div>