aboutsummaryrefslogtreecommitdiffstats
path: root/os/kernel/include/chmtx.h
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2013-07-19 09:43:11 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2013-07-19 09:43:11 +0000
commit3b6423187e643f8d1005d5fca2617a5485bc16b8 (patch)
treecbbbc4896347104641744bc1d323e8f6f12ace3a /os/kernel/include/chmtx.h
parent3739568d8918ee183f432c55ff753867737f1f07 (diff)
downloadChibiOS-3b6423187e643f8d1005d5fca2617a5485bc16b8.tar.gz
ChibiOS-3b6423187e643f8d1005d5fca2617a5485bc16b8.tar.bz2
ChibiOS-3b6423187e643f8d1005d5fca2617a5485bc16b8.zip
Started renaming the types to follow the _t convention.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/kernel_3_dev@5988 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/kernel/include/chmtx.h')
-rw-r--r--os/kernel/include/chmtx.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/os/kernel/include/chmtx.h b/os/kernel/include/chmtx.h
index 00ebb2a23..2d271153a 100644
--- a/os/kernel/include/chmtx.h
+++ b/os/kernel/include/chmtx.h
@@ -35,7 +35,7 @@
* @brief Mutex structure.
*/
typedef struct Mutex {
- ThreadsQueue m_queue; /**< @brief Queue of the threads sleeping
+ threads_queue_t m_queue; /**< @brief Queue of the threads sleeping
on this Mutex. */
Thread *m_owner; /**< @brief Owner @p Thread pointer or
@p NULL. */
@@ -65,7 +65,7 @@ extern "C" {
*
* @param[in] name the name of the mutex variable
*/
-#define _MUTEX_DATA(name) {_THREADSQUEUE_DATA(name.m_queue), NULL, NULL}
+#define _MUTEX_DATA(name) {_threads_queue_t_DATA(name.m_queue), NULL, NULL}
/**
* @brief Static mutex initializer.