From e27421f38661ea18b2a663776ad524afadeba607 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Mon, 1 Aug 2016 11:12:52 +0200 Subject: score: Move scheduler node to own header file This makes it possible to add scheduler nodes to structures defined in . Update #2556. --- cpukit/score/include/rtems/score/thread.h | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'cpukit/score/include/rtems/score/thread.h') diff --git a/cpukit/score/include/rtems/score/thread.h b/cpukit/score/include/rtems/score/thread.h index 6104ba03d7..2df0269491 100644 --- a/cpukit/score/include/rtems/score/thread.h +++ b/cpukit/score/include/rtems/score/thread.h @@ -30,6 +30,7 @@ #include #include #include +#include #include #include #include @@ -46,8 +47,6 @@ struct Per_CPU_Control; struct Scheduler_Control; -struct Scheduler_Node; - struct User_extensions_Iterator; #ifdef __cplusplus @@ -653,7 +652,7 @@ typedef struct { * This field is constant after initialization. It is used by change * priority and ask for help operations. */ - struct Scheduler_Node *own_node; + Scheduler_Node *own_node; #endif /** @@ -665,7 +664,7 @@ typedef struct { * On SMP configurations the scheduler helping protocol may change this * field. */ - struct Scheduler_Node *node; + Scheduler_Node *node; #if defined(RTEMS_SMP) /** -- cgit v1.2.3