mirror of
https://github.com/xzeldon/htop.git
synced 2025-07-12 12:14:36 +03:00
Mark process argument of Process_isThread const
This commit is contained in:

committed by
cgzones

parent
7fa0f19ffd
commit
41eea8a355
@ -45,7 +45,7 @@ void Process_delete(Object* cast) {
|
||||
free(this);
|
||||
}
|
||||
|
||||
bool Process_isThread(Process* this) {
|
||||
bool Process_isThread(const Process* this) {
|
||||
(void) this;
|
||||
return false;
|
||||
}
|
||||
|
@ -26,7 +26,7 @@ DarwinProcess* DarwinProcess_new(Settings* settings);
|
||||
|
||||
void Process_delete(Object* cast);
|
||||
|
||||
bool Process_isThread(Process* this);
|
||||
bool Process_isThread(const Process* this);
|
||||
|
||||
void DarwinProcess_setStartTime(Process *proc, struct extern_proc *ep, time_t now);
|
||||
|
||||
|
Reference in New Issue
Block a user