summaryrefslogtreecommitdiffstats
path: root/cpukit/score
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2006-12-04 14:43:58 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2006-12-04 14:43:58 +0000
commit4b1756466ef63ac14ee2299f07245558658e5c22 (patch)
tree1b162daa96deba7f52bf609148b33faa64408610 /cpukit/score
parent2006-12-02 Ralf Corsépius <ralf.corsepius@rtems.org> (diff)
downloadrtems-4b1756466ef63ac14ee2299f07245558658e5c22.tar.bz2
Backport from HEAD
Diffstat (limited to 'cpukit/score')
-rw-r--r--cpukit/score/inline/rtems/score/chain.inl18
1 files changed, 9 insertions, 9 deletions
diff --git a/cpukit/score/inline/rtems/score/chain.inl b/cpukit/score/inline/rtems/score/chain.inl
index d394ec93e1..e47242bf70 100644
--- a/cpukit/score/inline/rtems/score/chain.inl
+++ b/cpukit/score/inline/rtems/score/chain.inl
@@ -40,8 +40,8 @@
* and FALSE otherwise.
*/
RTEMS_INLINE_ROUTINE boolean _Chain_Are_nodes_equal(
- Chain_Node *left,
- Chain_Node *right
+ const Chain_Node *left,
+ const Chain_Node *right
)
{
return left == right;
@@ -56,7 +56,7 @@ RTEMS_INLINE_ROUTINE boolean _Chain_Are_nodes_equal(
* @return This method returns TRUE if the_chain is NULL and FALSE otherwise.
*/
RTEMS_INLINE_ROUTINE boolean _Chain_Is_null(
- Chain_Control *the_chain
+ const Chain_Control *the_chain
)
{
return (the_chain == NULL);
@@ -71,7 +71,7 @@ RTEMS_INLINE_ROUTINE boolean _Chain_Is_null(
* @return This method returns TRUE if the_node is NULL and FALSE otherwise.
*/
RTEMS_INLINE_ROUTINE boolean _Chain_Is_null_node(
- Chain_Node *the_node
+ const Chain_Node *the_node
)
{
return (the_node == NULL);
@@ -136,7 +136,7 @@ RTEMS_INLINE_ROUTINE boolean _Chain_Is_empty(
* a chain and FALSE otherwise.
*/
RTEMS_INLINE_ROUTINE boolean _Chain_Is_first(
- Chain_Node *the_node
+ const Chain_Node *the_node
)
{
return (the_node->previous == NULL);
@@ -153,7 +153,7 @@ RTEMS_INLINE_ROUTINE boolean _Chain_Is_first(
* a chain and FALSE otherwise.
*/
RTEMS_INLINE_ROUTINE boolean _Chain_Is_last(
- Chain_Node *the_node
+ const Chain_Node *the_node
)
{
return (the_node->next == NULL);
@@ -170,7 +170,7 @@ RTEMS_INLINE_ROUTINE boolean _Chain_Is_last(
* @a the_chain and FALSE otherwise.
*/
RTEMS_INLINE_ROUTINE boolean _Chain_Has_only_one_node(
- Chain_Control *the_chain
+ const Chain_Control *the_chain
)
{
return (the_chain->first == the_chain->last);
@@ -189,7 +189,7 @@ RTEMS_INLINE_ROUTINE boolean _Chain_Has_only_one_node(
*/
RTEMS_INLINE_ROUTINE boolean _Chain_Is_head(
Chain_Control *the_chain,
- Chain_Node *the_node
+ const Chain_Node *the_node
)
{
return (the_node == _Chain_Head(the_chain));
@@ -205,7 +205,7 @@ RTEMS_INLINE_ROUTINE boolean _Chain_Is_head(
*/
RTEMS_INLINE_ROUTINE boolean _Chain_Is_tail(
Chain_Control *the_chain,
- Chain_Node *the_node
+ const Chain_Node *the_node
)
{
return (the_node == _Chain_Tail(the_chain));