diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2008-03-03 15:52:55 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2008-03-03 15:52:55 +0000 |
commit | ec0a917ae1bef32f1848161e759ef98542327523 (patch) | |
tree | a1e800e77272b8b605b8678d70402d42f9f2a57c /src/chmtx.c | |
parent | c9efc761574cc108474517a21b98570e21301778 (diff) | |
download | ChibiOS-ec0a917ae1bef32f1848161e759ef98542327523.tar.gz ChibiOS-ec0a917ae1bef32f1848161e759ef98542327523.tar.bz2 ChibiOS-ec0a917ae1bef32f1848161e759ef98542327523.zip |
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@212 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'src/chmtx.c')
-rw-r--r-- | src/chmtx.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/chmtx.c b/src/chmtx.c index 3a1e2e00f..b76902477 100644 --- a/src/chmtx.c +++ b/src/chmtx.c @@ -106,8 +106,8 @@ void chMtxLockS(Mutex *mp) { * @param mp pointer to the \p Mutex structure
* @return \p TRUE if the mutex was successfully acquired else \p FALSE
*/
-BOOL chMtxTryLock(Mutex *mp) {
- BOOL b;
+t_bool chMtxTryLock(Mutex *mp) {
+ t_bool b;
chSysLock();
@@ -126,7 +126,7 @@ BOOL chMtxTryLock(Mutex *mp) { * @note This function must be called within a \p chSysLock() / \p chSysUnlock()
* block.
*/
-BOOL chMtxTryLockS(Mutex *mp) {
+t_bool chMtxTryLockS(Mutex *mp) {
if (mp->m_owner != NULL)
return FALSE;
|