diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2015-06-29 10:41:01 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2015-07-30 08:06:00 +0200 |
commit | 48274706a752efcee061f628a85964fda895ff57 (patch) | |
tree | 9093a935756d485f3692dcfce749e071ed9723e1 /cpukit/score/include/rtems/score/thread.h | |
parent | tftpDriver: close() false error (diff) | |
download | rtems-48274706a752efcee061f628a85964fda895ff57.tar.bz2 |
score: Rename struct Thread_Control
Add a leading underscore to the structure name to allow forward
declarations in standard header files provided by Newlib and GCC.
Diffstat (limited to 'cpukit/score/include/rtems/score/thread.h')
-rw-r--r-- | cpukit/score/include/rtems/score/thread.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/cpukit/score/include/rtems/score/thread.h b/cpukit/score/include/rtems/score/thread.h index 2f0b35e1a8..157acfa324 100644 --- a/cpukit/score/include/rtems/score/thread.h +++ b/cpukit/score/include/rtems/score/thread.h @@ -669,8 +669,11 @@ typedef struct { /** * This structure defines the Thread Control Block (TCB). + * + * Uses a leading underscore in the structure name to allow forward + * declarations in standard header files provided by Newlib and GCC. */ -struct Thread_Control { +struct _Thread_Control { /** This field is the object management structure for each thread. */ Objects_Control Object; /** This field is the current execution state of this thread. */ |