diff options
author | Nathan Scott <nathans@redhat.com> | 2020-09-08 17:33:50 +1000 |
---|---|---|
committer | Nathan Scott <nathans@redhat.com> | 2020-09-08 17:33:50 +1000 |
commit | 8ec5d4a3a07fe9a3c556a4abeac6645a7bb2235e (patch) | |
tree | 1efb582b7517e2ec32c892ff2e2ab269ea7e0c47 /dragonflybsd/DragonFlyBSDProcessList.h | |
parent | eede79b29af116bc568c7f7a1be319f0c1dfd311 (diff) |
Further, minor cleanups to headers post-MakeHeaders
Remove leftover empty ifdef/endif pairs, whitespace.
The generated htop.h file was also unused - removed.
Diffstat (limited to 'dragonflybsd/DragonFlyBSDProcessList.h')
-rw-r--r-- | dragonflybsd/DragonFlyBSDProcessList.h | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/dragonflybsd/DragonFlyBSDProcessList.h b/dragonflybsd/DragonFlyBSDProcessList.h index f677c3e4..403aa096 100644 --- a/dragonflybsd/DragonFlyBSDProcessList.h +++ b/dragonflybsd/DragonFlyBSDProcessList.h @@ -8,7 +8,6 @@ Released under the GNU GPL, see the COPYING file in the source distribution for its full text. */ - #include <kvm.h> #include <sys/param.h> #include <osreldate.h> @@ -21,17 +20,15 @@ in the source distribution for its full text. #include "DragonFlyBSDProcess.h" #define JAIL_ERRMSGLEN 1024 -char jail_errmsg[JAIL_ERRMSGLEN]; +extern char jail_errmsg[JAIL_ERRMSGLEN]; typedef struct CPUData_ { - double userPercent; double nicePercent; double systemPercent; double irqPercent; double idlePercent; double systemAllPercent; - } CPUData; typedef struct DragonFlyBSDProcessList_ { @@ -54,10 +51,8 @@ typedef struct DragonFlyBSDProcessList_ { Hashtable *jails; } DragonFlyBSDProcessList; - #define _UNUSED_ __attribute__((unused)) - ProcessList* ProcessList_new(UsersTable* usersTable, Hashtable* pidWhiteList, uid_t userId); void ProcessList_delete(ProcessList* this); |