From 60b769335e74d34fd798178e3cfd35561e8dc246 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Tue, 3 Mar 2020 12:46:36 +0100 Subject: sptests/spheapprot: Fix warning --- testsuites/sptests/spheapprot/init.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/testsuites/sptests/spheapprot/init.c b/testsuites/sptests/spheapprot/init.c index ba9f4b5a3e..8046100091 100644 --- a/testsuites/sptests/spheapprot/init.c +++ b/testsuites/sptests/spheapprot/init.c @@ -30,7 +30,11 @@ const char rtems_test_name[] = "SPHEAPPROT"; #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; -- cgit v1.2.3