From 359a3a36ca9bf82054fe6a83bd97868c310e5aae Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Thu, 22 Nov 2018 06:38:42 +0100 Subject: score: Rename Objects_Information::allocation_size Rename Objects_Information::allocation_size in Objects_Information::objects_per_block. Adjust integer types in _Objects_Shrink_information() and _Objects_Free(). Update #3621. --- cpukit/include/rtems/score/objectimpl.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cpukit/include/rtems/score') diff --git a/cpukit/include/rtems/score/objectimpl.h b/cpukit/include/rtems/score/objectimpl.h index 3a64573f6b..c3597c33ff 100644 --- a/cpukit/include/rtems/score/objectimpl.h +++ b/cpukit/include/rtems/score/objectimpl.h @@ -131,7 +131,7 @@ typedef struct { /** This is the number of objects on the Inactive list. */ Objects_Maximum inactive; /** This is the number of objects in a block. */ - Objects_Maximum allocation_size; + Objects_Maximum objects_per_block; /** This is the size in bytes of each object instance. */ uint16_t object_size; /** @@ -750,7 +750,7 @@ RTEMS_INLINE_ROUTINE Objects_Maximum _Objects_Extend_size( const Objects_Information *information ) { - return information->auto_extend ? information->allocation_size : 0; + return information->auto_extend ? information->objects_per_block : 0; } /** -- cgit v1.2.3