summaryrefslogtreecommitdiffstats
path: root/cpukit/score/include/rtems/score/threadq.h
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2015-06-25 13:48:00 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2015-06-25 13:55:34 +0200
commitbd67d7d2f8c9925517416b58196ca4c8fe389fef (patch)
treea339e9dcaeb25acfc7493919f16e8eb890fd8891 /cpukit/score/include/rtems/score/threadq.h
parentscore: Move default _ISR_Is_in_progress() (diff)
downloadrtems-bd67d7d2f8c9925517416b58196ca4c8fe389fef.tar.bz2
score: Simplify <rtems/score/thread.h>
Avoid Thread_Control typedef in <rtems/score/percpu.h>. This helps to get rid of the <rtems/score/percpu.h> include in <rtems/score/thread.h> which exposes a lot of implementation details.
Diffstat (limited to '')
-rw-r--r--cpukit/score/include/rtems/score/threadq.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpukit/score/include/rtems/score/threadq.h b/cpukit/score/include/rtems/score/threadq.h
index 4a8db7c59d..06ea36a905 100644
--- a/cpukit/score/include/rtems/score/threadq.h
+++ b/cpukit/score/include/rtems/score/threadq.h
@@ -21,10 +21,8 @@
#include <rtems/score/chain.h>
#include <rtems/score/isrlock.h>
-#include <rtems/score/percpu.h>
#include <rtems/score/priority.h>
#include <rtems/score/rbtree.h>
-#include <rtems/score/states.h>
#ifdef __cplusplus
extern "C" {
@@ -41,6 +39,8 @@ extern "C" {
*/
/**@{*/
+typedef struct Thread_Control Thread_Control;
+
typedef struct Thread_queue_Control Thread_queue_Control;
/**