From 41eea8a355d9f8935c2bcb25b4da83cf628f357b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20G=C3=B6ttsche?= Date: Wed, 7 Oct 2020 19:02:15 +0200 Subject: Mark process argument of Process_isThread const --- InfoScreen.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'InfoScreen.h') diff --git a/InfoScreen.h b/InfoScreen.h index e5c58461..79927c47 100644 --- a/InfoScreen.h +++ b/InfoScreen.h @@ -29,14 +29,14 @@ typedef struct InfoScreenClass_ { struct InfoScreen_ { Object super; - Process* process; + const Process* process; Panel* display; FunctionBar* bar; IncSet* inc; Vector* lines; }; -InfoScreen* InfoScreen_init(InfoScreen* this, Process* process, FunctionBar* bar, int height, const char* panelHeader); +InfoScreen* InfoScreen_init(InfoScreen* this, const Process* process, FunctionBar* bar, int height, const char* panelHeader); InfoScreen* InfoScreen_done(InfoScreen* this); -- cgit v1.2.3