summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2020-03-03 12:46:36 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2020-03-04 08:43:45 +0100
commit60b769335e74d34fd798178e3cfd35561e8dc246 (patch)
tree48c70aba3872c4af97c2c3bc1e138a80ab01fa4b
parentc4d5a341bd5aad1141be929a5a7e67a59d3730aa (diff)
sptests/spheapprot: Fix warning
-rw-r--r--testsuites/sptests/spheapprot/init.c6
1 files changed, 5 insertions, 1 deletions
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;