[rtems commit] testsupport/test.h: Add RTEMS_NO_RETURN to rtems_test_exit( )

Joel Sherrill joel at rtems.org
Wed Nov 29 19:03:46 UTC 2017


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

Author:    Joel Sherrill <joel at rtems.org>
Date:      Wed Nov 29 10:31:15 2017 -0600

testsupport/test.h: Add RTEMS_NO_RETURN to rtems_test_exit()

---

 cpukit/libmisc/testsupport/test.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cpukit/libmisc/testsupport/test.h b/cpukit/libmisc/testsupport/test.h
index 2b4fcd1..3dbdb9e 100644
--- a/cpukit/libmisc/testsupport/test.h
+++ b/cpukit/libmisc/testsupport/test.h
@@ -108,7 +108,7 @@ int rtems_test_end(const char* name);
  * @brief Exit the test without calling exit() since it closes stdin, etc and
  * pulls in stdio code
  */
-void rtems_test_exit(int status);
+void rtems_test_exit(int status) RTEMS_NO_RETURN;
 
 /**
  * @brief Prints via the RTEMS printer.



More information about the vc mailing list