summaryrefslogtreecommitdiffstats
path: root/CRT.h
diff options
context:
space:
mode:
authorBenny Baumann <BenBE@geshi.org>2020-10-03 17:53:15 +0200
committercgzones <cgzones@googlemail.com>2020-10-12 13:06:12 +0200
commit601480003ffdee444d8e48aed4222ad8dd23bb59 (patch)
tree73e7cd76630a3d16c920c07afa4a5b5fa973f15e /CRT.h
parentb47bc667a254c1b1a8d6b5a635ca73f6c91c2e1a (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.h5
1 files changed, 1 insertions, 4 deletions
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);

© 2014-2024 Faster IT GmbH | imprint | privacy policy