summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2015-06-29 14:24:14 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2015-07-30 08:06:01 +0200
commite421936bbb5de6a0441f4945b52eda3b569a9bae (patch)
treee0c50dfdd986390e10a3671fef1dccf2ea7d84b8
parentscore: Rename struct Thread_Control (diff)
downloadrtems-e421936bbb5de6a0441f4945b52eda3b569a9bae.tar.bz2
score: Provide struct _Thread_queue_Heads
Use a leading underscore in the structure name to allow forward declarations in standard header files provided by Newlib and GCC.
-rw-r--r--cpukit/score/include/rtems/score/threadq.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/cpukit/score/include/rtems/score/threadq.h b/cpukit/score/include/rtems/score/threadq.h
index 70b5ad6c11..7622551cf4 100644
--- a/cpukit/score/include/rtems/score/threadq.h
+++ b/cpukit/score/include/rtems/score/threadq.h
@@ -41,7 +41,13 @@ extern "C" {
typedef struct _Thread_Control Thread_Control;
-typedef struct {
+/**
+ * @brief Thread queue heads.
+ *
+ * Uses a leading underscore in the structure name to allow forward
+ * declarations in standard header files provided by Newlib and GCC.
+ */
+typedef struct _Thread_queue_Heads {
/** This union contains the data structures used to manage the blocked
* set of tasks which varies based upon the discipline.
*/