summaryrefslogtreecommitdiffstats
path: root/cpukit/score/src/coremutexsurrender.c
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2000-07-06 19:01:58 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2000-07-06 19:01:58 +0000
commit42ed30047bdc1994118c4966f09affe66d53c3e0 (patch)
tree05911f52c2fd034d0cf443f9fa294f327ea3cbbc /cpukit/score/src/coremutexsurrender.c
parent04e4829d46887039be024e83dc1951256e672ec1 (diff)
downloadrtems-42ed30047bdc1994118c4966f09affe66d53c3e0.tar.bz2
Format of return line changed.
Diffstat (limited to 'cpukit/score/src/coremutexsurrender.c')
-rw-r--r--cpukit/score/src/coremutexsurrender.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/cpukit/score/src/coremutexsurrender.c b/cpukit/score/src/coremutexsurrender.c
index 7eb1497c9f..7638ad316a 100644
--- a/cpukit/score/src/coremutexsurrender.c
+++ b/cpukit/score/src/coremutexsurrender.c
@@ -63,13 +63,13 @@ CORE_mutex_Status _CORE_mutex_Surrender(
if ( the_mutex->Attributes.only_owner_release ) {
if ( !_Thread_Is_executing( holder ) )
- return( CORE_MUTEX_STATUS_NOT_OWNER_OF_RESOURCE );
+ return CORE_MUTEX_STATUS_NOT_OWNER_OF_RESOURCE;
}
/* XXX already unlocked -- not right status */
if ( !the_mutex->nest_count )
- return( CORE_MUTEX_STATUS_SUCCESSFUL );
+ return CORE_MUTEX_STATUS_SUCCESSFUL;
the_mutex->nest_count--;
@@ -139,6 +139,6 @@ CORE_mutex_Status _CORE_mutex_Surrender(
} else
the_mutex->lock = CORE_MUTEX_UNLOCKED;
- return( CORE_MUTEX_STATUS_SUCCESSFUL );
+ return CORE_MUTEX_STATUS_SUCCESSFUL;
}