summaryrefslogtreecommitdiffstats
path: root/InfoScreen.h
diff options
context:
space:
mode:
authorChristian Göttsche <cgzones@googlemail.com>2020-08-20 21:58:14 +0200
committerChristian Göttsche <cgzones@googlemail.com>2020-08-25 12:00:03 +0200
commit11f558f93421a42aa29e0de7e50e670facfb5bb2 (patch)
tree0a61edc95364eb3581a1894b14b458e1a339a6dd /InfoScreen.h
parent7457bfe9f319d939f9840a79703991d4b7beaaab (diff)
Avoid discarding const qualifiers
Diffstat (limited to 'InfoScreen.h')
-rw-r--r--InfoScreen.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/InfoScreen.h b/InfoScreen.h
index b9387cda..e5d6bb67 100644
--- a/InfoScreen.h
+++ b/InfoScreen.h
@@ -38,11 +38,11 @@ struct InfoScreen_ {
Vector* lines;
};
-extern InfoScreen* InfoScreen_init(InfoScreen* this, Process* process, FunctionBar* bar, int height, char* panelHeader);
+extern InfoScreen* InfoScreen_init(InfoScreen* this, Process* process, FunctionBar* bar, int height, const char* panelHeader);
extern InfoScreen* InfoScreen_done(InfoScreen* this);
-extern void InfoScreen_drawTitled(InfoScreen* this, char* fmt, ...);
+extern void InfoScreen_drawTitled(InfoScreen* this, const char* fmt, ...);
extern void InfoScreen_addLine(InfoScreen* this, const char* line);

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