summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2000-01-06 15:31:24 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2000-01-06 15:31:24 +0000
commit89184f94dbd6ec40d02d57aad094fdab9022057b (patch)
tree65e8c0860819110c972bce19a31ed9fcfac3abc8
parentbd177b7bea172ec95e32c07adee8113a1791c34b (diff)
downloadrtems-89184f94dbd6ec40d02d57aad094fdab9022057b.tar.bz2
Corrected spacing.
-rw-r--r--c/src/exec/score/src/coremsgsubmit.c5
-rw-r--r--cpukit/score/src/coremsgsubmit.c5
2 files changed, 4 insertions, 6 deletions
diff --git a/c/src/exec/score/src/coremsgsubmit.c b/c/src/exec/score/src/coremsgsubmit.c
index 9b4a9d9d3c..4e15ab5bc0 100644
--- a/c/src/exec/score/src/coremsgsubmit.c
+++ b/c/src/exec/score/src/coremsgsubmit.c
@@ -73,8 +73,7 @@ CORE_message_queue_Status _CORE_message_queue_Submit(
*/
the_thread = _Thread_queue_Dequeue( &the_message_queue->Wait_queue );
- if ( the_thread )
- {
+ if ( the_thread ) {
_CORE_message_queue_Copy_buffer(
buffer,
the_thread->Wait.return_argument,
@@ -102,7 +101,7 @@ CORE_message_queue_Status _CORE_message_queue_Submit(
}
the_message = _CORE_message_queue_Allocate_message_buffer(the_message_queue);
- if ( the_message == 0)
+ if ( the_message == 0 )
return CORE_MESSAGE_QUEUE_STATUS_UNSATISFIED;
_CORE_message_queue_Copy_buffer( buffer, the_message->Contents.buffer, size );
diff --git a/cpukit/score/src/coremsgsubmit.c b/cpukit/score/src/coremsgsubmit.c
index 9b4a9d9d3c..4e15ab5bc0 100644
--- a/cpukit/score/src/coremsgsubmit.c
+++ b/cpukit/score/src/coremsgsubmit.c
@@ -73,8 +73,7 @@ CORE_message_queue_Status _CORE_message_queue_Submit(
*/
the_thread = _Thread_queue_Dequeue( &the_message_queue->Wait_queue );
- if ( the_thread )
- {
+ if ( the_thread ) {
_CORE_message_queue_Copy_buffer(
buffer,
the_thread->Wait.return_argument,
@@ -102,7 +101,7 @@ CORE_message_queue_Status _CORE_message_queue_Submit(
}
the_message = _CORE_message_queue_Allocate_message_buffer(the_message_queue);
- if ( the_message == 0)
+ if ( the_message == 0 )
return CORE_MESSAGE_QUEUE_STATUS_UNSATISFIED;
_CORE_message_queue_Copy_buffer( buffer, the_message->Contents.buffer, size );