From 601480003ffdee444d8e48aed4222ad8dd23bb59 Mon Sep 17 00:00:00 2001 From: Benny Baumann Date: Sat, 3 Oct 2020 17:53:15 +0200 Subject: Centralise fault handling This should be done as all platforms essentially did the same anyway and there was nothing platform specific. --- CRT.h | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'CRT.h') diff --git a/CRT.h b/CRT.h index 629a8097..5b0b7304 100644 --- a/CRT.h +++ b/CRT.h @@ -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); -- cgit v1.2.3