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 /freebsd/FreeBSDProcess.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 'freebsd/FreeBSDProcess.h')
-rw-r--r-- | freebsd/FreeBSDProcess.h | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/freebsd/FreeBSDProcess.h b/freebsd/FreeBSDProcess.h index b269b779..897c5329 100644 --- a/freebsd/FreeBSDProcess.h +++ b/freebsd/FreeBSDProcess.h @@ -7,15 +7,13 @@ Released under the GNU GPL, see the COPYING file in the source distribution for its full text. */ - -typedef enum FreeBSDProcessFields { +typedef enum FreeBSDProcessFields_ { // Add platform-specific fields here, with ids >= 100 JID = 100, JAIL = 101, LAST_PROCESSFIELD = 102, } FreeBSDProcessField; - typedef struct FreeBSDProcess_ { Process super; int kernel; @@ -23,15 +21,9 @@ typedef struct FreeBSDProcess_ { char* jname; } FreeBSDProcess; - -#ifndef Process_isKernelThread #define Process_isKernelThread(_process) (_process->kernel == 1) -#endif -#ifndef Process_isUserlandThread #define Process_isUserlandThread(_process) (_process->pid != _process->tgid) -#endif - extern ProcessClass FreeBSDProcess_class; |