[rtems commit] score: Fix warning in thread queue ops
Chris Johns
chrisj at rtems.org
Mon Feb 15 21:14:29 UTC 2021
Module: rtems
Branch: master
Commit: b5aef78b36c2e5844578d47e5daba14c481e1a50
Changeset: http://git.rtems.org/rtems/commit/?id=b5aef78b36c2e5844578d47e5daba14c481e1a50
Author: Chris Johns <chrisj at rtems.org>
Date: Fri Feb 12 15:22:07 2021 -1000
score: Fix warning in thread queue ops
---
cpukit/score/src/threadqops.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/cpukit/score/src/threadqops.c b/cpukit/score/src/threadqops.c
index ef20431..d6ba9da 100644
--- a/cpukit/score/src/threadqops.c
+++ b/cpukit/score/src/threadqops.c
@@ -604,9 +604,9 @@ static Thread_Control *_Thread_queue_Priority_first(
const Thread_queue_Heads *heads
)
{
- Thread_queue_Priority_queue *priority_queue;
- Priority_Node *first;
- Scheduler_Node *scheduler_node;
+ const Thread_queue_Priority_queue *priority_queue;
+ Priority_Node *first;
+ Scheduler_Node *scheduler_node;
#if defined(RTEMS_SMP)
_Assert( !_Chain_Is_empty( &heads->Heads.Fifo ) );
More information about the vc
mailing list