mirror of
https://github.com/xzeldon/htop.git
synced 2025-07-14 21:14:35 +03:00
Centralise fault handling
This should be done as all platforms essentially did the same anyway and there was nothing platform specific.
This commit is contained in:
5
CRT.h
5
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);
|
||||
|
Reference in New Issue
Block a user