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 /linux/LinuxProcess.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 'linux/LinuxProcess.h')
-rw-r--r-- | linux/LinuxProcess.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/linux/LinuxProcess.h b/linux/LinuxProcess.h index 8ee49f46..021cae7c 100644 --- a/linux/LinuxProcess.h +++ b/linux/LinuxProcess.h @@ -8,7 +8,6 @@ Released under the GNU GPL, see the COPYING file in the source distribution for its full text. */ - #define PROCESS_FLAG_LINUX_IOPRIO 0x0100 #define PROCESS_FLAG_LINUX_OPENVZ 0x0200 #define PROCESS_FLAG_LINUX_VSERVER 0x0400 @@ -141,16 +140,10 @@ typedef struct LinuxProcess_ { #endif } LinuxProcess; -#ifndef Process_isKernelThread #define Process_isKernelThread(_process) (((LinuxProcess*)(_process))->isKernelThread) -#endif -#ifndef Process_isUserlandThread #define Process_isUserlandThread(_process) (_process->pid != _process->tgid) -#endif - -/* semi-global */ extern long long btime; extern ProcessFieldData Process_fields[]; |