summaryrefslogtreecommitdiff
path: root/testsuites/sptests/spstkalloc/init.c
diff options
context:
space:
mode:
Diffstat (limited to 'testsuites/sptests/spstkalloc/init.c')
-rw-r--r--testsuites/sptests/spstkalloc/init.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/testsuites/sptests/spstkalloc/init.c b/testsuites/sptests/spstkalloc/init.c
index ab9612c94a..60169435c4 100644
--- a/testsuites/sptests/spstkalloc/init.c
+++ b/testsuites/sptests/spstkalloc/init.c
@@ -18,14 +18,14 @@ const char rtems_test_name[] = "SPSTKALLOC";
/* forward declarations to avoid warnings */
rtems_task Init(rtems_task_argument argument);
-#define MAXIMUM_STACKS 3
+#define MAXIMUM_STACKS 2
typedef struct {
uint8_t Space[CPU_STACK_MINIMUM_SIZE];
} StackMemory_t;
int stackToAlloc = 0;
-StackMemory_t Stacks[3];
+StackMemory_t Stacks[MAXIMUM_STACKS];
void *StackDeallocated = NULL;
static void *StackAllocator(size_t size)