From e719a85994e0ba13ac107c49fd85d49495dfc6a2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20G=C3=B6ttsche?= Date: Tue, 8 Sep 2020 14:28:15 +0200 Subject: Mark noreturn functions --- unsupported/UnsupportedCRT.c | 1 + unsupported/UnsupportedCRT.h | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) (limited to 'unsupported') diff --git a/unsupported/UnsupportedCRT.c b/unsupported/UnsupportedCRT.c index 49cc5d0d..f5c8fef1 100644 --- a/unsupported/UnsupportedCRT.c +++ b/unsupported/UnsupportedCRT.c @@ -6,6 +6,7 @@ in the source distribution for its full text. */ #include "config.h" +#include "UnsupportedCRT.h" #include "CRT.h" #include #include diff --git a/unsupported/UnsupportedCRT.h b/unsupported/UnsupportedCRT.h index 24d63e5c..cb248f80 100644 --- a/unsupported/UnsupportedCRT.h +++ b/unsupported/UnsupportedCRT.h @@ -7,6 +7,8 @@ Released under the GNU GPL, see the COPYING file in the source distribution for its full text. */ -void CRT_handleSIGSEGV(int sgn); +#include "Macros.h" + +void CRT_handleSIGSEGV(int sgn) ATTR_NORETURN; #endif -- cgit v1.2.3