diff options
author | Nathan Scott <nathans@redhat.com> | 2020-07-10 10:35:32 +1000 |
---|---|---|
committer | Nathan Scott <nathans@redhat.com> | 2020-07-10 10:35:32 +1000 |
commit | dfd9279f87791e36a5212726781c31fbe7110361 (patch) | |
tree | ee044449e757e2ae56e876efd02c5b1965c05924 /CRT.c | |
parent | 402e46bb82964366746b86d77eb5afa69c279539 (diff) |
Resolve complation issues with -fno-common (default from gcc-10)
Extends the MakeHeader script to auto-generate correct "extern"
function declarations in some cases that it currently does not.
Related to https://github.com/hishamhm/htop/pull/981
Diffstat (limited to 'CRT.c')
-rw-r--r-- | CRT.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -131,9 +131,9 @@ typedef enum ColorElements_ { LAST_COLORELEMENT } ColorElements; -void CRT_fatalError(const char* note) __attribute__ ((noreturn)); +extern void CRT_fatalError(const char* note) __attribute__ ((noreturn)); -void CRT_handleSIGSEGV(int sgn); +extern void CRT_handleSIGSEGV(int sgn); #define KEY_ALT(x) (KEY_F(64 - 26) + (x - 'A')) |