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. --- testsuites/samples/unlimited/test1.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'testsuites/samples/unlimited/test1.c') diff --git a/testsuites/samples/unlimited/test1.c b/testsuites/samples/unlimited/test1.c index f02857ce59..a529c71be3 100644 --- a/testsuites/samples/unlimited/test1.c +++ b/testsuites/samples/unlimited/test1.c @@ -30,7 +30,7 @@ void test1() { - bool auto_extend; + Objects_Maximum objects_per_block; rtems_status_code result; uint32_t task_count = 0; Objects_Information *the_information; @@ -49,8 +49,8 @@ void test1() the_information = _Objects_Information_table[OBJECTS_CLASSIC_API][OBJECTS_RTEMS_TASKS]; - auto_extend = the_information->auto_extend; - the_information->auto_extend = false; + objects_per_block = the_information->objects_per_block; + the_information->objects_per_block = 0; while (task_count < MAX_TASKS) { @@ -101,7 +101,7 @@ void test1() destroy_all_tasks("TEST1"); - the_information->auto_extend = auto_extend; + the_information->objects_per_block = objects_per_block; printf( " TEST1 : completed\n" ); } -- cgit v1.2.3