diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2004-04-17 13:32:13 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2004-04-17 13:32:13 +0000 |
commit | 05279b84b4a0f798b43ce1731784b7db577e772f (patch) | |
tree | 4079787381b3993b1f1ea00e4d9083563f8e1252 /cpukit/score/src/objectshrinkinformation.c | |
parent | 2004-04-17 Ralf Corsepius <ralf_corsepius@rtems.org> (diff) | |
download | rtems-05279b84b4a0f798b43ce1731784b7db577e772f.tar.bz2 |
Remove stray white spaces.
Diffstat (limited to 'cpukit/score/src/objectshrinkinformation.c')
-rw-r--r-- | cpukit/score/src/objectshrinkinformation.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/cpukit/score/src/objectshrinkinformation.c b/cpukit/score/src/objectshrinkinformation.c index 6b95719ca2..d71d1348c3 100644 --- a/cpukit/score/src/objectshrinkinformation.c +++ b/cpukit/score/src/objectshrinkinformation.c @@ -56,7 +56,7 @@ void _Objects_Shrink_information( index_base = _Objects_Get_index( information->minimum_id ); block_count = ( information->maximum - index_base ) / information->allocation_size; - + for ( block = 0; block < block_count; block++ ) { if ( information->inactive_per_block[ block ] == information->allocation_size ) { @@ -64,7 +64,7 @@ void _Objects_Shrink_information( * XXX - Not to sure how to use a chain where you need to iterate and * and remove elements. */ - + the_object = (Objects_Control *) information->Inactive.first; /* @@ -76,18 +76,18 @@ void _Objects_Shrink_information( if ((index >= index_base) && (index < (index_base + information->allocation_size))) { - + /* * Get the next node before the node is extracted */ - + extract_me = the_object; if ( !_Chain_Is_last( &the_object->Node ) ) the_object = (Objects_Control *) the_object->Node.next; else the_object = NULL; - + _Chain_Extract( &extract_me->Node ); } else { @@ -106,10 +106,10 @@ void _Objects_Shrink_information( information->inactive_per_block[ block ] = 0; information->inactive -= information->allocation_size; - + return; } - + index_base += information->allocation_size; } } |