summaryrefslogtreecommitdiffstats
path: root/cpukit/score/include/rtems/score/scheduleredf.h
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/score/include/rtems/score/scheduleredf.h')
-rw-r--r--cpukit/score/include/rtems/score/scheduleredf.h12
1 files changed, 7 insertions, 5 deletions
diff --git a/cpukit/score/include/rtems/score/scheduleredf.h b/cpukit/score/include/rtems/score/scheduleredf.h
index 153b882495..2d5f537c59 100644
--- a/cpukit/score/include/rtems/score/scheduleredf.h
+++ b/cpukit/score/include/rtems/score/scheduleredf.h
@@ -66,6 +66,13 @@ extern "C" {
*/
#define SCHEDULER_EDF_PRIO_MSB 0x80000000
+typedef struct {
+ /**
+ * Top of the ready queue.
+ */
+ RBTree_Control Ready;
+} Scheduler_EDF_Control;
+
/**
* @typedef Scheduler_EDF_Queue_state
*
@@ -97,11 +104,6 @@ typedef struct {
} Scheduler_EDF_Per_thread;
/**
- * Top of the ready queue.
- */
-extern RBTree_Control _Scheduler_EDF_Ready_queue;
-
-/**
* @brief Initialize EDF scheduler.
*
* This routine initializes the EDF scheduler.