aboutsummaryrefslogtreecommitdiffstats
path: root/openbsd/OpenBSDProcess.h
diff options
context:
space:
mode:
authorDaniel Lange <DLange@git.local>2020-09-15 08:00:01 +0200
committerDaniel Lange <DLange@git.local>2020-09-15 08:00:01 +0200
commit8e8165109aca4e3c2a8558653df088d674061c78 (patch)
treed68c91ced3a78c65be9ae262ea84676e73cac68d /openbsd/OpenBSDProcess.h
parente9302ddfaeaad62b12bdd352958fb194a26f3c74 (diff)
parentf80394a20254938142011855f2954b3f63fe5909 (diff)
downloaddebian_htop-8e8165109aca4e3c2a8558653df088d674061c78.tar.gz
debian_htop-8e8165109aca4e3c2a8558653df088d674061c78.tar.bz2
debian_htop-8e8165109aca4e3c2a8558653df088d674061c78.zip
Update upstream source from tag 'upstream/3.0.2'
Update to upstream version '3.0.2' with Debian dir 26e1b8d7612e50e81b8325506c1ce54f71cba270
Diffstat (limited to 'openbsd/OpenBSDProcess.h')
-rw-r--r--openbsd/OpenBSDProcess.h10
1 files changed, 1 insertions, 9 deletions
diff --git a/openbsd/OpenBSDProcess.h b/openbsd/OpenBSDProcess.h
index ba55e5e..fede6f8 100644
--- a/openbsd/OpenBSDProcess.h
+++ b/openbsd/OpenBSDProcess.h
@@ -1,5 +1,3 @@
-/* Do not edit this file. It was automatically generated. */
-
#ifndef HEADER_OpenBSDProcess
#define HEADER_OpenBSDProcess
/*
@@ -10,8 +8,7 @@ Released under the GNU GPL, see the COPYING file
in the source distribution for its full text.
*/
-
-typedef enum OpenBSDProcessFields {
+typedef enum OpenBSDProcessFields_ {
// Add platform-specific fields here, with ids >= 100
LAST_PROCESSFIELD = 100,
} OpenBSDProcessField;
@@ -20,14 +17,9 @@ typedef struct OpenBSDProcess_ {
Process super;
} OpenBSDProcess;
-#ifndef Process_isKernelThread
#define Process_isKernelThread(_process) (_process->pgrp == 0)
-#endif
-#ifndef Process_isUserlandThread
#define Process_isUserlandThread(_process) (_process->pid != _process->tgid)
-#endif
-
extern ProcessClass OpenBSDProcess_class;

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