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 /solaris/SolarisProcess.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 'solaris/SolarisProcess.h')
-rw-r--r-- | solaris/SolarisProcess.h | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/solaris/SolarisProcess.h b/solaris/SolarisProcess.h index a1064a30..d36dea3e 100644 --- a/solaris/SolarisProcess.h +++ b/solaris/SolarisProcess.h @@ -13,7 +13,7 @@ in the source distribution for its full text. #include <sys/proc.h> #include <libproc.h> -typedef enum SolarisProcessFields { +typedef enum SolarisProcessField_ { // Add platform-specific fields here, with ids >= 100 ZONEID = 100, ZONE = 101, @@ -25,7 +25,6 @@ typedef enum SolarisProcessFields { LAST_PROCESSFIELD = 107, } SolarisProcessField; - typedef struct SolarisProcess_ { Process super; int kernel; @@ -41,15 +40,9 @@ typedef struct SolarisProcess_ { pid_t lwpid; } SolarisProcess; - -#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 SolarisProcess_class; |