sptests/spheapprot: Fix warning

This commit is contained in:
Sebastian Huber
2020-03-03 12:46:36 +01:00
parent c4d5a341bd
commit 60b769335e

View File

@@ -30,7 +30,11 @@
const char rtems_test_name[] = "SPHEAPPROT"; const char rtems_test_name[] = "SPHEAPPROT";
#ifdef HEAP_PROTECTION #ifdef HEAP_PROTECTION
static void test_heap_block_error(Heap_Control *heap, Heap_Block *block) static void test_heap_block_error(
Heap_Control *heap,
Heap_Block *block,
Heap_Error_reason reason
)
{ {
bool *error = heap->Protection.handler_data; bool *error = heap->Protection.handler_data;