diff options
author | Christian Göttsche <cgzones@googlemail.com> | 2020-09-08 14:28:15 +0200 |
---|---|---|
committer | cgzones <cgzones@googlemail.com> | 2020-09-18 12:28:40 +0200 |
commit | e719a85994e0ba13ac107c49fd85d49495dfc6a2 (patch) | |
tree | 39296d78b23199697688e28ae4807a17760e6a19 /darwin | |
parent | b85a31415e8d68d0d46a105b1033a92669224682 (diff) |
Mark noreturn functions
Diffstat (limited to 'darwin')
-rw-r--r-- | darwin/DarwinCRT.c | 1 | ||||
-rw-r--r-- | darwin/DarwinCRT.h | 4 |
2 files changed, 4 insertions, 1 deletions
diff --git a/darwin/DarwinCRT.c b/darwin/DarwinCRT.c index 2191f307..da16913d 100644 --- a/darwin/DarwinCRT.c +++ b/darwin/DarwinCRT.c @@ -6,6 +6,7 @@ in the source distribution for its full text. */ #include "config.h" +#include "DarwinCRT.h" #include "CRT.h" #include <stdio.h> #include <stdlib.h> diff --git a/darwin/DarwinCRT.h b/darwin/DarwinCRT.h index 5e08422b..663bd8b0 100644 --- a/darwin/DarwinCRT.h +++ b/darwin/DarwinCRT.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 |