aboutsummaryrefslogtreecommitdiffstats
path: root/os/kernel/include/chmtx.h
diff options
context:
space:
mode:
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.