summaryrefslogtreecommitdiffstats
path: root/unsupported
diff options
context:
space:
mode:
authorChristian Göttsche <cgzones@googlemail.com>2020-10-07 19:02:15 +0200
committercgzones <cgzones@googlemail.com>2020-10-09 10:18:40 +0200
commit41eea8a355d9f8935c2bcb25b4da83cf628f357b (patch)
tree83cf9e3b334d12f5eabf987f08fafc073e194507 /unsupported
parent7fa0f19ffdb65019791034f8ff4c9b73edb162b2 (diff)
Mark process argument of Process_isThread const
Diffstat (limited to 'unsupported')
-rw-r--r--unsupported/Platform.c2
-rw-r--r--unsupported/Platform.h2
2 files changed, 2 insertions, 2 deletions
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);

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