[PATCH] Complete STACK_CHECKER_EXTENSION

Stavros Passas stavros.passas at movidius.com
Mon Jan 30 10:50:05 UTC 2017


Hello guys,
   I am not sure if that's the correct place to send/discuss fixes, if not
just say the word.

Remove warnings when using STACK_CHECKER_EXTENSION. Fixes #2889

---
 cpukit/libmisc/stackchk/stackchk.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/cpukit/libmisc/stackchk/stackchk.h
b/cpukit/libmisc/stackchk/stackchk.h
index 8ad1733..16fc4f9 100644
--- a/cpukit/libmisc/stackchk/stackchk.h
+++ b/cpukit/libmisc/stackchk/stackchk.h
@@ -128,6 +128,7 @@ void rtems_stack_checker_switch_extension(
   0,                                           /* task_begin   */ \
   0,                                           /* task_exitted */ \
   0 /* rtems_stack_checker_fatal_extension */, /* fatal        */ \
+  0,                                           /* terminate    */ \
 }

 #ifdef __cplusplus
--
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/devel/attachments/20170130/e04b6c9a/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 2889-Complete-STACK_CHECKER_EXTENSION.patch
Type: application/octet-stream
Size: 875 bytes
Desc: not available
URL: <http://lists.rtems.org/pipermail/devel/attachments/20170130/e04b6c9a/attachment-0001.obj>


More information about the devel mailing list