aboutsummaryrefslogtreecommitdiffstats
path: root/os/kernel/include/chsem.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/chsem.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/chsem.h')
-rw-r--r--os/kernel/include/chsem.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/os/kernel/include/chsem.h b/os/kernel/include/chsem.h
index b5036af7c..649287e7d 100644
--- a/os/kernel/include/chsem.h
+++ b/os/kernel/include/chsem.h
@@ -35,7 +35,7 @@
* @brief Semaphore structure.
*/
typedef struct Semaphore {
- ThreadsQueue s_queue; /**< @brief Queue of the threads sleeping
+ threads_queue_t s_queue; /**< @brief Queue of the threads sleeping
on this semaphore. */
cnt_t s_cnt; /**< @brief The semaphore counter. */
} Semaphore;
@@ -69,7 +69,7 @@ extern "C" {
* @param[in] n the counter initial value, this value must be
* non-negative
*/
-#define _SEMAPHORE_DATA(name, n) {_THREADSQUEUE_DATA(name.s_queue), n}
+#define _SEMAPHORE_DATA(name, n) {_threads_queue_t_DATA(name.s_queue), n}
/**
* @brief Static semaphore initializer.