[PATCH 1/3] score: Fix warning in thread queue ops

chrisj at rtems.org chrisj at rtems.org
Sat Feb 13 02:23:59 UTC 2021


From: Chris Johns <chrisj at rtems.org>

---
 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 ef20431178..d6ba9dad57 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 ) );
-- 
2.24.1



More information about the devel mailing list