Mark process argument of Process_isThread const

This commit is contained in:
Christian Göttsche
2020-10-07 19:02:15 +02:00
committed by cgzones
parent 7fa0f19ffd
commit 41eea8a355
17 changed files with 22 additions and 22 deletions

View File

@ -128,8 +128,8 @@ long DragonFlyBSDProcess_compare(const void* v1, const void* v2) {
}
}
bool Process_isThread(Process* this) {
DragonFlyBSDProcess* fp = (DragonFlyBSDProcess*) this;
bool Process_isThread(const Process* this) {
const DragonFlyBSDProcess* fp = (const DragonFlyBSDProcess*) this;
if (fp->kernel == 1 )
return 1;

View File

@ -41,6 +41,6 @@ void DragonFlyBSDProcess_writeField(Process* this, RichString* str, ProcessField
long DragonFlyBSDProcess_compare(const void* v1, const void* v2);
bool Process_isThread(Process* this);
bool Process_isThread(const Process* this);
#endif