[rtems commit] sptests/spheapprot: Fix warning

Sebastian Huber sebh at rtems.org
Wed Mar 4 08:26:32 UTC 2020


Module:    rtems
Branch:    master
Commit:    60b769335e74d34fd798178e3cfd35561e8dc246
Changeset: http://git.rtems.org/rtems/commit/?id=60b769335e74d34fd798178e3cfd35561e8dc246

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Tue Mar  3 12:46:36 2020 +0100

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 ba9f4b5..8046100 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;
 



More information about the vc mailing list