diff options
author | Benny Baumann <BenBE@geshi.org> | 2020-10-03 17:53:15 +0200 |
---|---|---|
committer | cgzones <cgzones@googlemail.com> | 2020-10-12 13:06:12 +0200 |
commit | 601480003ffdee444d8e48aed4222ad8dd23bb59 (patch) | |
tree | 73e7cd76630a3d16c920c07afa4a5b5fa973f15e /CRT.h | |
parent | b47bc667a254c1b1a8d6b5a635ca73f6c91c2e1a (diff) |
Centralise fault handling
This should be done as all platforms essentially did the same anyway and there was nothing platform specific.
Diffstat (limited to 'CRT.h')
-rw-r--r-- | CRT.h | 5 |
1 files changed, 1 insertions, 4 deletions
@@ -117,8 +117,7 @@ typedef enum ColorElements_ { void CRT_fatalError(const char* note) ATTR_NORETURN; -extern struct sigaction old_sigsegv_handler; -void CRT_handleSIGSEGV(int sgn); +void CRT_handleSIGSEGV(int signal) ATTR_NORETURN; #define KEY_ALT(x) (KEY_F(64 - 26) + (x - 'A')) @@ -147,8 +146,6 @@ extern char* CRT_termType; extern int CRT_colorScheme; -extern void *backtraceArray[128]; - #ifdef HAVE_SETUID_ENABLED void CRT_dropPrivileges(void); |