From 2fa014db14b819b829535170a93fa25b599c5a34 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Thu, 8 Nov 2018 12:05:44 +0100 Subject: rtems: Avoid include of Update #3598. --- cpukit/include/rtems/rtems/tasks.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/cpukit/include/rtems/rtems/tasks.h b/cpukit/include/rtems/rtems/tasks.h index e0272e06f9..3d0b739cd7 100644 --- a/cpukit/include/rtems/rtems/tasks.h +++ b/cpukit/include/rtems/rtems/tasks.h @@ -19,7 +19,6 @@ #define _RTEMS_RTEMS_TASKS_H #include -#include #include #include #include @@ -87,10 +86,12 @@ typedef uint32_t rtems_task_priority; */ #define RTEMS_CURRENT_PRIORITY PRIORITY_MINIMUM +struct _Thread_Control; + /** * External API name for Thread_Control */ -typedef Thread_Control rtems_tcb; +typedef struct _Thread_Control rtems_tcb; /** * The following defines the "return type" of an RTEMS task. @@ -100,7 +101,7 @@ typedef void rtems_task; /** * The following defines the argument to an RTEMS task. */ -typedef Thread_Entry_numeric_type rtems_task_argument; +typedef CPU_Uint32ptr rtems_task_argument; /** * The following defines the type for the entry point of an RTEMS task. -- cgit v1.2.3