summaryrefslogtreecommitdiffstats
path: root/cpukit/sapi/include/rtems
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2016-08-19 13:37:01 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2016-09-06 10:52:19 +0200
commit796f12a85a70bd04125762f73ecccd27a91ff781 (patch)
treebf04a41cfe9ed282840617bc219e5122bb40a778 /cpukit/sapi/include/rtems
parentcapture: Use proper accessor functions (diff)
downloadrtems-796f12a85a70bd04125762f73ecccd27a91ff781.tar.bz2
score: Add missing const qualifiers
Diffstat (limited to 'cpukit/sapi/include/rtems')
-rw-r--r--cpukit/sapi/include/rtems/chain.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/cpukit/sapi/include/rtems/chain.h b/cpukit/sapi/include/rtems/chain.h
index 25f02c9ba8..f0e7ee4f40 100644
--- a/cpukit/sapi/include/rtems/chain.h
+++ b/cpukit/sapi/include/rtems/chain.h
@@ -312,7 +312,7 @@ RTEMS_INLINE_ROUTINE const rtems_chain_node *rtems_chain_immutable_tail(
* @return This method returns the first node of the chain.
*/
RTEMS_INLINE_ROUTINE rtems_chain_node *rtems_chain_first(
- rtems_chain_control *the_chain
+ const rtems_chain_control *the_chain
)
{
return _Chain_First( the_chain );
@@ -346,7 +346,7 @@ RTEMS_INLINE_ROUTINE const rtems_chain_node *rtems_chain_immutable_first(
* @return This method returns the last node of the chain.
*/
RTEMS_INLINE_ROUTINE rtems_chain_node *rtems_chain_last(
- rtems_chain_control *the_chain
+ const rtems_chain_control *the_chain
)
{
return _Chain_Last( the_chain );
@@ -379,7 +379,7 @@ RTEMS_INLINE_ROUTINE const rtems_chain_node *rtems_chain_immutable_last(
* @return This method returns the next node on the chain.
*/
RTEMS_INLINE_ROUTINE rtems_chain_node *rtems_chain_next(
- rtems_chain_node *the_node
+ const rtems_chain_node *the_node
)
{
return _Chain_Next( the_node );
@@ -411,7 +411,7 @@ RTEMS_INLINE_ROUTINE const rtems_chain_node *rtems_chain_immutable_next(
* @return This method returns the previous node on the chain.
*/
RTEMS_INLINE_ROUTINE rtems_chain_node *rtems_chain_previous(
- rtems_chain_node *the_node
+ const rtems_chain_node *the_node
)
{
return _Chain_Previous( the_node );