summaryrefslogtreecommitdiffstats
path: root/cpukit/score
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2008-09-08 15:19:34 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2008-09-08 15:19:34 +0000
commita5b6cdda583b5afd8fa7ded7ccefc9082da36f3d (patch)
treedfd77fcea8c11f4af433c4db1acf8926ee5c3d16 /cpukit/score
parent2008-09-08 Joel Sherrill <joel.sherrill@oarcorp.com> (diff)
downloadrtems-a5b6cdda583b5afd8fa7ded7ccefc9082da36f3d.tar.bz2
2008-09-08 Joel Sherrill <joel.sherrill@oarcorp.com>
* libcsupport/include/rtems/libio_.h, libcsupport/src/libio_sockets.c, libfs/src/dosfs/fat.h, libfs/src/dosfs/msdos.h, libfs/src/imfs/deviceio.c, libmisc/monitor/mon-monitor.c, libmisc/monitor/mon-object.c, libmisc/monitor/mon-symbols.c, libmisc/monitor/monitor.h, libmisc/stackchk/internal.h, rtems/inline/rtems/rtems/part.inl, score/include/rtems/system.h, score/include/rtems/score/bitfield.h, score/src/mpci.c, score/src/objectextendinformation.c, score/src/threadmp.c: Remove extraneous spaces.
Diffstat (limited to 'cpukit/score')
-rw-r--r--cpukit/score/include/rtems/score/bitfield.h2
-rw-r--r--cpukit/score/include/rtems/system.h2
-rw-r--r--cpukit/score/src/mpci.c6
-rw-r--r--cpukit/score/src/objectextendinformation.c6
-rw-r--r--cpukit/score/src/threadmp.c2
5 files changed, 8 insertions, 10 deletions
diff --git a/cpukit/score/include/rtems/score/bitfield.h b/cpukit/score/include/rtems/score/bitfield.h
index bfeef76dfc..04a2a96f4c 100644
--- a/cpukit/score/include/rtems/score/bitfield.h
+++ b/cpukit/score/include/rtems/score/bitfield.h
@@ -86,7 +86,7 @@ const unsigned char __log2table[256] = {
#else
#define _Bitfield_Find_first_bit( _value, _bit_number ) \
{ \
- register uint32_t __value = (uint32_t ) (_value); \
+ register uint32_t __value = (uint32_t) (_value); \
register const unsigned char *__p = __log2table; \
\
if ( __value < 0x100 ) \
diff --git a/cpukit/score/include/rtems/system.h b/cpukit/score/include/rtems/system.h
index 330281f0eb..c08cb788ef 100644
--- a/cpukit/score/include/rtems/system.h
+++ b/cpukit/score/include/rtems/system.h
@@ -182,7 +182,7 @@ typedef void * proc_ptr;
* This macro is used to obtain the offset of a field in a structure.
*/
#define RTEMS_offsetof(type, field) \
- ((uint32_t ) &(((type *) 0)->field))
+ ((uint32_t) &(((type *) 0)->field))
/**
* The following is the extern for the RTEMS version string.
diff --git a/cpukit/score/src/mpci.c b/cpukit/score/src/mpci.c
index d767962781..9cd7866c66 100644
--- a/cpukit/score/src/mpci.c
+++ b/cpukit/score/src/mpci.c
@@ -231,8 +231,7 @@ void _MPCI_Send_process_packet (
{
the_packet->source_tid = _Thread_Executing->Object.id;
the_packet->to_convert =
- ( the_packet->to_convert - sizeof(MP_packet_Prefix) ) /
- sizeof(uint32_t );
+ ( the_packet->to_convert - sizeof(MP_packet_Prefix) ) / sizeof(uint32_t);
(*_MPCI_table->send_packet)( destination, the_packet );
}
@@ -254,8 +253,7 @@ uint32_t _MPCI_Send_request_packet (
the_packet->source_tid = _Thread_Executing->Object.id;
the_packet->source_priority = _Thread_Executing->current_priority;
the_packet->to_convert =
- ( the_packet->to_convert - sizeof(MP_packet_Prefix) ) /
- sizeof(uint32_t );
+ ( the_packet->to_convert - sizeof(MP_packet_Prefix) ) / sizeof(uint32_t);
_Thread_Executing->Wait.id = the_packet->id;
diff --git a/cpukit/score/src/objectextendinformation.c b/cpukit/score/src/objectextendinformation.c
index 86355caba3..8e9e636757 100644
--- a/cpukit/score/src/objectextendinformation.c
+++ b/cpukit/score/src/objectextendinformation.c
@@ -121,7 +121,7 @@ void _Objects_Extend_information(
object_blocks = (void**)
_Workspace_Allocate(
block_count *
- (sizeof(void *) + sizeof(uint32_t ) + sizeof(Objects_Name *)) +
+ (sizeof(void *) + sizeof(uint32_t) + sizeof(Objects_Name *)) +
((maximum + minimum_index) * sizeof(Objects_Control *))
);
@@ -142,7 +142,7 @@ void _Objects_Extend_information(
*
*/
- inactive_per_block = (uint32_t *) _Addresses_Add_offset(
+ inactive_per_block = (uint32_t *) _Addresses_Add_offset(
object_blocks, block_count * sizeof(void*) );
local_table = (Objects_Control **) _Addresses_Add_offset(
inactive_per_block, block_count * sizeof(uint32_t) );
@@ -166,7 +166,7 @@ void _Objects_Extend_information(
block_count * sizeof(void*) );
memcpy( inactive_per_block,
information->inactive_per_block,
- block_count * sizeof(uint32_t ) );
+ block_count * sizeof(uint32_t) );
memcpy( local_table,
information->local_table,
(information->maximum + minimum_index) * sizeof(Objects_Control *) );
diff --git a/cpukit/score/src/threadmp.c b/cpukit/score/src/threadmp.c
index 8cac0a99b9..5012aa8a5b 100644
--- a/cpukit/score/src/threadmp.c
+++ b/cpukit/score/src/threadmp.c
@@ -117,7 +117,7 @@ Thread_Control *_Thread_MP_Allocate_proxy (
*/
#define _Thread_MP_Proxy_Active_offset \
- ((uint32_t )&(((Thread_Proxy_control *)0))->Active)
+ ((uint32_t)&(((Thread_Proxy_control *)0))->Active)
Thread_Control *_Thread_MP_Find_proxy (
Objects_Id the_id