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 --- unsupported/Platform.c | 2 +- unsupported/Platform.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'unsupported') diff --git a/unsupported/Platform.c b/unsupported/Platform.c index b7fdf17d..6e8968f1 100644 --- a/unsupported/Platform.c +++ b/unsupported/Platform.c @@ -131,7 +131,7 @@ void Platform_setSwapValues(Meter* this) { (void) this; } -bool Process_isThread(Process* this) { +bool Process_isThread(const Process* this) { (void) this; return false; } diff --git a/unsupported/Platform.h b/unsupported/Platform.h index ce188afa..f24dcf4c 100644 --- a/unsupported/Platform.h +++ b/unsupported/Platform.h @@ -43,7 +43,7 @@ void Platform_setMemoryValues(Meter* this); void Platform_setSwapValues(Meter* this); -bool Process_isThread(Process* this); +bool Process_isThread(const Process* this); char* Platform_getProcessEnv(pid_t pid); -- cgit v1.2.3