[rtems commit] score: Fix name
Sebastian Huber
sebh at rtems.org
Wed Apr 15 06:47:50 UTC 2015
Module: rtems
Branch: master
Commit: 644caa2074e6afe6c67727599a82740059fd5016
Changeset: http://git.rtems.org/rtems/commit/?id=644caa2074e6afe6c67727599a82740059fd5016
Author: Sebastian Huber <sebastian.huber at embedded-brains.de>
Date: Wed Apr 15 08:46:51 2015 +0200
score: Fix name
---
cpukit/score/include/rtems/score/apimutex.h | 4 ++--
cpukit/score/src/apimutexislocked.c | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/cpukit/score/include/rtems/score/apimutex.h b/cpukit/score/include/rtems/score/apimutex.h
index c960679..798a8e7 100644
--- a/cpukit/score/include/rtems/score/apimutex.h
+++ b/cpukit/score/include/rtems/score/apimutex.h
@@ -85,7 +85,7 @@ void _API_Mutex_Lock( API_Mutex_Control *mutex );
*/
void _API_Mutex_Unlock( API_Mutex_Control *mutex );
-bool _API_Mutex_Is_Locked( API_Mutex_Control *mutex );
+bool _API_Mutex_Is_locked( API_Mutex_Control *mutex );
/** @} */
@@ -122,7 +122,7 @@ static inline void _RTEMS_Unlock_allocator( void )
static inline bool _RTEMS_Check_if_allocator_is_locked( void )
{
- return _API_Mutex_Is_Locked( _RTEMS_Allocator_Mutex );
+ return _API_Mutex_Is_locked( _RTEMS_Allocator_Mutex );
}
SCORE_EXTERN API_Mutex_Control *_Once_Mutex;
diff --git a/cpukit/score/src/apimutexislocked.c b/cpukit/score/src/apimutexislocked.c
index 804ce4a..739bc3f 100644
--- a/cpukit/score/src/apimutexislocked.c
+++ b/cpukit/score/src/apimutexislocked.c
@@ -23,7 +23,7 @@
#include <rtems/score/coremuteximpl.h>
#include <rtems/score/threadimpl.h>
-bool _API_Mutex_Is_Locked( API_Mutex_Control *the_mutex )
+bool _API_Mutex_Is_locked( API_Mutex_Control *the_mutex )
{
bool is_locked;
ISR_Level level;
More information about the vc
mailing list