From 8022a681a34f0bb518dc6bafbfcaf543bb1026eb Mon Sep 17 00:00:00 2001 From: Ralf Corsepius Date: Sun, 11 Feb 2007 04:52:37 +0000 Subject: Use size_t for heap-sizes. --- cpukit/score/include/rtems/score/heap.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'cpukit/score/include/rtems/score/heap.h') diff --git a/cpukit/score/include/rtems/score/heap.h b/cpukit/score/include/rtems/score/heap.h index c00e2c7098..1b5c0577a0 100644 --- a/cpukit/score/include/rtems/score/heap.h +++ b/cpukit/score/include/rtems/score/heap.h @@ -282,7 +282,7 @@ uint32_t _Heap_Initialize( Heap_Extend_status _Heap_Extend( Heap_Control *the_heap, void *starting_address, - uint32_t size, + size_t size, uint32_t *amount_extended ); @@ -297,7 +297,7 @@ Heap_Extend_status _Heap_Extend( */ void *_Heap_Allocate( Heap_Control *the_heap, - uint32_t size + size_t size ); /** @@ -450,8 +450,8 @@ void _Heap_Get_free_information( * * @return This method returns block size on success, 0 if overflow occured. */ -extern uint32_t _Heap_Calc_block_size( - uint32_t size, +extern size_t _Heap_Calc_block_size( + size_t size, uint32_t page_size, uint32_t min_size ); -- cgit v1.2.3