[rtems commit] score: Fix warning
Sebastian Huber
sebh at rtems.org
Sat Oct 21 09:59:53 UTC 2017
Module: rtems
Branch: master
Commit: 6d6f6a200703b09f8e4d86860ad7e10b8754b2d7
Changeset: http://git.rtems.org/rtems/commit/?id=6d6f6a200703b09f8e4d86860ad7e10b8754b2d7
Author: Sebastian Huber <sebastian.huber at embedded-brains.de>
Date: Sat Oct 21 09:42:30 2017 +0200
score: Fix warning
---
cpukit/score/src/rbtreeextract.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/cpukit/score/src/rbtreeextract.c b/cpukit/score/src/rbtreeextract.c
index e4eb8d8..c32eab9 100644
--- a/cpukit/score/src/rbtreeextract.c
+++ b/cpukit/score/src/rbtreeextract.c
@@ -17,7 +17,7 @@ RB_GENERATE_REMOVE_COLOR( RBTree_Control, RBTree_Node, Node, static )
RB_GENERATE_REMOVE( RBTree_Control, RBTree_Node, Node, static )
#if defined(RTEMS_DEBUG)
-static RBTree_Node *_RBTree_Find_root( const RBTree_Node *the_node )
+static const RBTree_Node *_RBTree_Find_root( const RBTree_Node *the_node )
{
while ( true ) {
const RBTree_Node *potential_root;
More information about the vc
mailing list