summaryrefslogtreecommitdiffstats
path: root/c/src/exec
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 /c/src/exec
parentPatch rtems-rc-20000626-1.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>. (diff)
downloadrtems-42ed30047bdc1994118c4966f09affe66d53c3e0.tar.bz2
Format of return line changed.
Diffstat (limited to 'c/src/exec')
-rw-r--r--c/src/exec/score/src/coremutexsurrender.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/c/src/exec/score/src/coremutexsurrender.c b/c/src/exec/score/src/coremutexsurrender.c
index 7eb1497c9f..7638ad316a 100644
--- a/c/src/exec/score/src/coremutexsurrender.c
+++ b/c/src/exec/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;
}