summaryrefslogtreecommitdiffstats
path: root/MainPanel.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 /MainPanel.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 'MainPanel.c')
-rw-r--r--MainPanel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/MainPanel.c b/MainPanel.c
index 44915dfd..b231fbcb 100644
--- a/MainPanel.c
+++ b/MainPanel.c
@@ -210,7 +210,7 @@ const PanelClass MainPanel_class = {
.printHeader = MainPanel_printHeader
};
-MainPanel* MainPanel_new() {
+MainPanel* MainPanel_new(void) {
MainPanel* this = AllocThis(MainPanel);
Panel_init((Panel*) this, 1, 1, 1, 1, Class(Process), false, FunctionBar_new(Settings_isReadonly() ? MainFunctions_ro : MainFunctions, NULL, NULL));
this->keys = xCalloc(KEY_MAX, sizeof(Htop_Action));

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