From e421936bbb5de6a0441f4945b52eda3b569a9bae Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Mon, 29 Jun 2015 14:24:14 +0200 Subject: 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. --- cpukit/score/include/rtems/score/threadq.h | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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. */ -- cgit v1.2.3