summaryrefslogtreecommitdiffstats
path: root/CommandScreen.c
diff options
context:
space:
mode:
authorChristian Göttsche <cgzones@googlemail.com>2020-10-05 13:19:50 +0200
committercgzones <cgzones@googlemail.com>2020-10-07 13:01:53 +0200
commitba282cfe193719f4fe030ebdcd80519ae19ffca2 (patch)
treecef89de747bb4312f7d5903f19f73ee04503e5ec /CommandScreen.c
parent08d85e61435e43ade490ecef16437f93c0d88bed (diff)
Mark Object instances const
Diffstat (limited to 'CommandScreen.c')
-rw-r--r--CommandScreen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/CommandScreen.c b/CommandScreen.c
index bc71e09f..58ed8840 100644
--- a/CommandScreen.c
+++ b/CommandScreen.c
@@ -48,7 +48,7 @@ static void CommandScreen_draw(InfoScreen* this) {
InfoScreen_drawTitled(this, "Command of process %d - %s", this->process->pid, this->process->comm);
}
-InfoScreenClass CommandScreen_class = {
+const InfoScreenClass CommandScreen_class = {
.super = {
.extends = Class(Object),
.delete = CommandScreen_delete

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