From 9a4879b48f9ca1a39aa4eaa67bccc171cd5bca35 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20G=C3=B6ttsche?= Date: Thu, 4 Aug 2022 21:09:44 +0200 Subject: 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 --- MetersPanel.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'MetersPanel.c') 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; -- cgit v1.2.3