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 70b5ad6..7622551 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. */ -- 1.8.4.5 _______________________________________________ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel