summaryrefslogtreecommitdiffstats
path: root/cpukit/score/src/heapallocate.c
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2004-04-17 13:32:13 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2004-04-17 13:32:13 +0000
commit05279b84b4a0f798b43ce1731784b7db577e772f (patch)
tree4079787381b3993b1f1ea00e4d9083563f8e1252 /cpukit/score/src/heapallocate.c
parent2004-04-17 Ralf Corsepius <ralf_corsepius@rtems.org> (diff)
downloadrtems-05279b84b4a0f798b43ce1731784b7db577e772f.tar.bz2
Remove stray white spaces.
Diffstat (limited to 'cpukit/score/src/heapallocate.c')
-rw-r--r--cpukit/score/src/heapallocate.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/cpukit/score/src/heapallocate.c b/cpukit/score/src/heapallocate.c
index aa789671a1..54bdd58e45 100644
--- a/cpukit/score/src/heapallocate.c
+++ b/cpukit/score/src/heapallocate.c
@@ -54,7 +54,7 @@ void *_Heap_Allocate(
excess = size % the_heap->page_size;
the_size = size + the_heap->page_size + HEAP_BLOCK_USED_OVERHEAD;
-
+
if ( excess )
the_size += the_heap->page_size - excess;
@@ -90,12 +90,12 @@ void *_Heap_Allocate(
the_block->previous->next = the_block->next;
ptr = _Heap_Start_of_user_area( the_block );
}
-
+
/*
* round ptr up to a multiple of page size
* Have to save the bump amount in the buffer so that free can figure it out
*/
-
+
offset = the_heap->page_size - (((uint32_t ) ptr) & (the_heap->page_size - 1));
ptr = _Addresses_Add_offset( ptr, offset );
*(((uint32_t *) ptr) - 1) = offset;