summaryrefslogtreecommitdiffstats
path: root/dragonflybsd/DragonFlyBSDProcess.h
diff options
context:
space:
mode:
authorNathan Scott <nathans@redhat.com>2020-09-08 17:33:50 +1000
committerNathan Scott <nathans@redhat.com>2020-09-08 17:33:50 +1000
commit8ec5d4a3a07fe9a3c556a4abeac6645a7bb2235e (patch)
tree1efb582b7517e2ec32c892ff2e2ab269ea7e0c47 /dragonflybsd/DragonFlyBSDProcess.h
parenteede79b29af116bc568c7f7a1be319f0c1dfd311 (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/DragonFlyBSDProcess.h')
-rw-r--r--dragonflybsd/DragonFlyBSDProcess.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/dragonflybsd/DragonFlyBSDProcess.h b/dragonflybsd/DragonFlyBSDProcess.h
index a0381c67..d5e5a6ee 100644
--- a/dragonflybsd/DragonFlyBSDProcess.h
+++ b/dragonflybsd/DragonFlyBSDProcess.h
@@ -8,7 +8,6 @@ Released under the GNU GPL, see the COPYING file
in the source distribution for its full text.
*/
-
typedef enum DragonFlyBSDProcessFields {
// Add platform-specific fields here, with ids >= 100
JID = 100,
@@ -16,7 +15,6 @@ typedef enum DragonFlyBSDProcessFields {
LAST_PROCESSFIELD = 102,
} DragonFlyBSDProcessField;
-
typedef struct DragonFlyBSDProcess_ {
Process super;
int kernel;
@@ -24,16 +22,10 @@ typedef struct DragonFlyBSDProcess_ {
char* jname;
} DragonFlyBSDProcess;
-
-#ifndef Process_isKernelThread
#define Process_isKernelThread(_process) (_process->kernel == 1)
-#endif
-#ifndef Process_isUserlandThread
//#define Process_isUserlandThread(_process) (_process->pid != _process->tgid)
#define Process_isUserlandThread(_process) (_process->nlwp > 1)
-#endif
-
extern ProcessClass DragonFlyBSDProcess_class;

© 2014-2024 Faster IT GmbH | imprint | privacy policy