From 8b0e752fee90af946e0e117ca7d46a7df7814d14 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Mon, 10 Dec 2018 13:44:53 +0100 Subject: score: Remove Objects_Information::auto_extend Use Objects_Information::objects_per_block to provide this information. Add and use _Objects_Is_auto_extend(). Update #3621. --- cpukit/score/src/objectallocate.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cpukit/score/src/objectallocate.c') diff --git a/cpukit/score/src/objectallocate.c b/cpukit/score/src/objectallocate.c index 2f991477da..9213cf8eb7 100644 --- a/cpukit/score/src/objectallocate.c +++ b/cpukit/score/src/objectallocate.c @@ -56,7 +56,7 @@ Objects_Control *_Objects_Allocate_unprotected( */ the_object = _Objects_Get_inactive( information ); - if ( information->auto_extend ) { + if ( _Objects_Is_auto_extend( information ) ) { /* * If the list is empty then we are out of objects and need to * extend information base. -- cgit v1.2.3