summaryrefslogtreecommitdiffstats
path: root/MetersPanel.c
diff options
context:
space:
mode:
authorChristian Göttsche <cgzones@googlemail.com>2022-08-04 21:09:44 +0200
committercgzones <cgzones@googlemail.com>2022-08-09 20:30:05 +0200
commit9a4879b48f9ca1a39aa4eaa67bccc171cd5bca35 (patch)
treeea05b3a733209b83bcebc40a8f8af120ac8ebfca /MetersPanel.c
parent3e1908b80ab214b7b449b49183d1bd5d39c174e3 (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 'MetersPanel.c')
-rw-r--r--MetersPanel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/MetersPanel.c b/MetersPanel.c
index 97da6309..c6926140 100644
--- a/MetersPanel.c
+++ b/MetersPanel.c
@@ -33,7 +33,7 @@ static const char* const MetersMovingKeys[] = {"Space", "Enter", "Up", "Dn", "<-
static const int MetersMovingEvents[] = {' ', 13, KEY_UP, KEY_DOWN, KEY_LEFT, KEY_RIGHT, ERR, KEY_DC, KEY_F(10)};
static FunctionBar* Meters_movingBar = NULL;
-void MetersPanel_cleanup() {
+void MetersPanel_cleanup(void) {
if (Meters_movingBar) {
FunctionBar_delete(Meters_movingBar);
Meters_movingBar = NULL;

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