diff options
author | Christian Göttsche <cgzones@googlemail.com> | 2022-08-04 21:09:44 +0200 |
---|---|---|
committer | cgzones <cgzones@googlemail.com> | 2022-08-09 20:30:05 +0200 |
commit | 9a4879b48f9ca1a39aa4eaa67bccc171cd5bca35 (patch) | |
tree | ea05b3a733209b83bcebc40a8f8af120ac8ebfca /CRT.c | |
parent | 3e1908b80ab214b7b449b49183d1bd5d39c174e3 (diff) |
Please Clang 15
CRT.c:1015:14: error: a function declaration without a prototype is deprecated in all versions of C [-Werror,-Wstrict-prototypes]
void CRT_done() {
^
void
Diffstat (limited to 'CRT.c')
-rw-r--r-- | CRT.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -1012,7 +1012,7 @@ IGNORE_WCASTQUAL_END CRT_degreeSign = initDegreeSign(); } -void CRT_done() { +void CRT_done(void) { int resetColor = CRT_colors ? CRT_colors[RESET_COLOR] : CRT_colorSchemes[COLORSCHEME_DEFAULT][RESET_COLOR]; attron(resetColor); @@ -1033,7 +1033,7 @@ void CRT_fatalError(const char* note) { exit(2); } -int CRT_readKey() { +int CRT_readKey(void) { nocbreak(); cbreak(); nodelay(stdscr, FALSE); @@ -1042,13 +1042,13 @@ int CRT_readKey() { return ret; } -void CRT_disableDelay() { +void CRT_disableDelay(void) { nocbreak(); cbreak(); nodelay(stdscr, TRUE); } -void CRT_enableDelay() { +void CRT_enableDelay(void) { halfdelay(*CRT_delay); } |