diff options
author | Christian Göttsche <cgzones@googlemail.com> | 2020-09-09 21:35:15 +0200 |
---|---|---|
committer | cgzones <cgzones@googlemail.com> | 2020-09-18 12:28:40 +0200 |
commit | 7107d1db0b3361a3e880d903a45920b64a05e9d6 (patch) | |
tree | 926c71c5d2095f156bda3863fc3f8dbcacbc017f /CRT.h | |
parent | f4602f7b4e7fdcf4b3a5d2c0c353b50fef98aa7e (diff) |
Refactor __attribute__ usage
Use internal macros for compatibility with non GNUC compilers.
Diffstat (limited to 'CRT.h')
-rw-r--r-- | CRT.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -7,6 +7,8 @@ Released under the GNU GPL, see the COPYING file in the source distribution for its full text. */ +#include "Macros.h" + #include <stdbool.h> #define KEY_WHEELUP KEY_F(20) @@ -107,7 +109,7 @@ typedef enum ColorElements_ { LAST_COLORELEMENT } ColorElements; -void CRT_fatalError(const char* note) __attribute__ ((noreturn)); +void CRT_fatalError(const char* note) ATTR_NORETURN; extern struct sigaction old_sigsegv_handler; void CRT_handleSIGSEGV(int sgn); |