diff options
author | Christian Göttsche <cgzones@googlemail.com> | 2020-12-05 22:57:07 +0100 |
---|---|---|
committer | BenBE <BenBE@geshi.org> | 2020-12-06 16:20:55 +0100 |
commit | 57d9ecc5519a44d4d08f1739ab4b741ccfc2d35a (patch) | |
tree | 9643df67c42db491a6c81fbf3121001216daed6d /openbsd/OpenBSDProcessList.h | |
parent | 3d15ba51974827693ed7d34149290c812d652dd9 (diff) |
OpenBSD update
- compilation failures like `return &this->this;` -> `return &this->super;`
- iwyu update
- misc cleanup
Diffstat (limited to 'openbsd/OpenBSDProcessList.h')
-rw-r--r-- | openbsd/OpenBSDProcessList.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/openbsd/OpenBSDProcessList.h b/openbsd/OpenBSDProcessList.h index 1b40faf1..a6195a52 100644 --- a/openbsd/OpenBSDProcessList.h +++ b/openbsd/OpenBSDProcessList.h @@ -9,6 +9,13 @@ in the source distribution for its full text. */ #include <kvm.h> +#include <stdbool.h> +#include <sys/types.h> + +#include "Hashtable.h" +#include "ProcessList.h" +#include "UsersTable.h" + typedef struct CPUData_ { unsigned long long int totalTime; @@ -43,8 +50,6 @@ ProcessList* ProcessList_new(UsersTable* usersTable, Hashtable* pidMatchList, ui void ProcessList_delete(ProcessList* this); -char* OpenBSDProcessList_readProcessName(kvm_t* kd, struct kinfo_proc* kproc, int* basenameEnd); - void ProcessList_goThroughEntries(ProcessList* super, bool pauseProcessUpdate); #endif |