diff options
author | Nathan Scott <nathans@redhat.com> | 2020-09-08 16:45:11 +1000 |
---|---|---|
committer | Nathan Scott <nathans@redhat.com> | 2020-09-08 16:45:11 +1000 |
commit | eede79b29af116bc568c7f7a1be319f0c1dfd311 (patch) | |
tree | b271a1980e4b48a5178d60b8aed1efa6987e4e3d /CRT.h | |
parent | 85ff6960ed5c1312f9d773e695418fdbfffd5303 (diff) | |
parent | 7758ffcdeae26f47f4ad6ec847fb8292fd5ceee3 (diff) |
Merge branch 'noheadergen' of https://github.com/zevweiss/htop into zevweiss-noheadergen
Diffstat (limited to 'CRT.h')
-rw-r--r-- | CRT.h | 24 |
1 files changed, 11 insertions, 13 deletions
@@ -1,5 +1,3 @@ -/* Do not edit this file. It was automatically generated. */ - #ifndef HEADER_CRT #define HEADER_CRT /* @@ -129,9 +127,9 @@ typedef enum ColorElements_ { LAST_COLORELEMENT } ColorElements; -extern void CRT_fatalError(const char* note) __attribute__ ((noreturn)); +void CRT_fatalError(const char* note) __attribute__ ((noreturn)); -extern void CRT_handleSIGSEGV(int sgn); +void CRT_handleSIGSEGV(int sgn); #define KEY_ALT(x) (KEY_F(64 - 26) + (x - 'A')) @@ -172,9 +170,9 @@ extern void *backtraceArray[128]; #define DIE(msg) do { CRT_done(); fprintf(stderr, msg); exit(1); } while(0) -extern void CRT_dropPrivileges(); +void CRT_dropPrivileges(); -extern void CRT_restorePrivileges(); +void CRT_restorePrivileges(); #else @@ -189,18 +187,18 @@ extern void CRT_restorePrivileges(); // TODO: pass an instance of Settings instead. -extern void CRT_init(int delay, int colorScheme, bool allowUnicode); +void CRT_init(int delay, int colorScheme, bool allowUnicode); -extern void CRT_done(); +void CRT_done(); -extern void CRT_fatalError(const char* note); +void CRT_fatalError(const char* note); -extern int CRT_readKey(); +int CRT_readKey(); -extern void CRT_disableDelay(); +void CRT_disableDelay(); -extern void CRT_enableDelay(); +void CRT_enableDelay(); -extern void CRT_setColors(int colorScheme); +void CRT_setColors(int colorScheme); #endif |