Merge branch 'openbsd' of cgzones/htop

This commit is contained in:
Daniel Lange
2021-03-21 17:48:41 +01:00
6 changed files with 65 additions and 16 deletions

View File

@ -115,4 +115,8 @@ Process* ProcessList_getProcess(ProcessList* this, pid_t pid, bool* preExisting,
void ProcessList_scan(ProcessList* this, bool pauseProcessUpdate);
static inline Process* ProcessList_findProcess(ProcessList* this, pid_t pid) {
return (Process*) Hashtable_get(this->processTable, pid);
}
#endif