summaryrefslogtreecommitdiffstats
path: root/unsupported
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 /unsupported
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 'unsupported')
-rw-r--r--unsupported/UnsupportedCRT.c21
-rw-r--r--unsupported/UnsupportedCRT.h14
2 files changed, 0 insertions, 35 deletions
diff --git a/unsupported/UnsupportedCRT.c b/unsupported/UnsupportedCRT.c
deleted file mode 100644
index 5ee076cd..00000000
--- a/unsupported/UnsupportedCRT.c
+++ /dev/null
@@ -1,21 +0,0 @@
-/*
-htop - UnsupportedCRT.c
-(C) 2014 Hisham H. Muhammad
-Released under the GNU GPLv2, see the COPYING file
-in the source distribution for its full text.
-*/
-
-#include "config.h"
-#include "UnsupportedCRT.h"
-#include "CRT.h"
-#include <stdio.h>
-#include <stdlib.h>
-
-void CRT_handleSIGSEGV(int sgn) {
- (void) sgn;
- CRT_done();
- fprintf(stderr, "\n\nhtop " VERSION " aborting.\n");
- fprintf(stderr, "\nUnfortunately, you seem to be using an unsupported platform!");
- fprintf(stderr, "\nPlease contact your platform package maintainer!\n\n");
- abort();
-}
diff --git a/unsupported/UnsupportedCRT.h b/unsupported/UnsupportedCRT.h
deleted file mode 100644
index f89d787c..00000000
--- a/unsupported/UnsupportedCRT.h
+++ /dev/null
@@ -1,14 +0,0 @@
-#ifndef HEADER_UnsupportedCRT
-#define HEADER_UnsupportedCRT
-/*
-htop - UnsupportedCRT.h
-(C) 2014 Hisham H. Muhammad
-Released under the GNU GPLv2, see the COPYING file
-in the source distribution for its full text.
-*/
-
-#include "Macros.h"
-
-void CRT_handleSIGSEGV(int sgn) ATTR_NORETURN;
-
-#endif

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