aboutsummaryrefslogtreecommitdiffstats
path: root/os/kernel/include/chthreads.h
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2013-07-19 09:56:22 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2013-07-19 09:56:22 +0000
commit3a504e26ce59c61235bb18930225b8104fafbaad (patch)
tree29684fa10a0a1651e277c467a769e74f86ab151b /os/kernel/include/chthreads.h
parent3b6423187e643f8d1005d5fca2617a5485bc16b8 (diff)
downloadChibiOS-3a504e26ce59c61235bb18930225b8104fafbaad.tar.gz
ChibiOS-3a504e26ce59c61235bb18930225b8104fafbaad.tar.bz2
ChibiOS-3a504e26ce59c61235bb18930225b8104fafbaad.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/kernel_3_dev@5989 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/kernel/include/chthreads.h')
-rw-r--r--os/kernel/include/chthreads.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/os/kernel/include/chthreads.h b/os/kernel/include/chthreads.h
index b8ff5693e..95fd5c4d8 100644
--- a/os/kernel/include/chthreads.h
+++ b/os/kernel/include/chthreads.h
@@ -124,7 +124,7 @@ typedef struct {
* not needed ChibiOS/RT subsystems it is possible to save RAM space
* by shrinking the @p Thread structure.
*/
-struct Thread {
+typedef struct Thread {
Thread *p_next; /**< @brief Next in the list/queue. */
/* End of the fields shared with the threads_list_t structure.*/
Thread *p_prev; /**< @brief Previous in the queue. */
@@ -254,7 +254,7 @@ struct Thread {
/* Extra fields defined in chconf.h.*/
THREAD_EXT_FIELDS
#endif
-};
+} Thread;
/**
* @brief Thread function.