mirror of
https://github.com/xzeldon/htop.git
synced 2025-07-12 04:04:35 +03:00
Cleanup initialization of jiffies on the Linux platform
Small cleanups - add error handling, remove a local static variable and refactor LinuxProcess_adjustTime (also rename it, as its in LinuxProcessList.c not LinuxProcess.c) - and while there, move the related 'btime' global variable into LinuxProcessList.c so it can be made static. Resolves https://github.com/htop-dev/htop/issues/384
This commit is contained in:
@ -191,8 +191,6 @@ static inline bool Process_isUserlandThread(const Process* this) {
|
||||
return this->pid != this->tgid;
|
||||
}
|
||||
|
||||
extern long long btime;
|
||||
|
||||
extern int pageSize;
|
||||
|
||||
extern int pageSizeKB;
|
||||
|
Reference in New Issue
Block a user