aboutsummaryrefslogtreecommitdiffstats
path: root/Process.h
diff options
context:
space:
mode:
authorDaniel Lange <DLange@git.local>2016-04-11 13:00:20 +0200
committerDaniel Lange <DLange@git.local>2016-04-11 13:00:20 +0200
commitea859f50d9438bc61ae96721a4d255b49de78653 (patch)
treebfb52a5f403ad1e86c562b2f4d608d1268fe8fcf /Process.h
parent266ab52b3a741a58fb17c48b0f7939d7c5d266de (diff)
downloaddebian_htop-ea859f50d9438bc61ae96721a4d255b49de78653.tar.gz
debian_htop-ea859f50d9438bc61ae96721a4d255b49de78653.tar.bz2
debian_htop-ea859f50d9438bc61ae96721a4d255b49de78653.zip
Imported Upstream version 0.6.2upstream/0.6.2
Diffstat (limited to 'Process.h')
-rw-r--r--Process.h11
1 files changed, 2 insertions, 9 deletions
diff --git a/Process.h b/Process.h
index 5cf127e..f4f1b20 100644
--- a/Process.h
+++ b/Process.h
@@ -4,11 +4,12 @@
#define HEADER_Process
/*
htop - Process.h
-(C) 2004,2005 Hisham H. Muhammad
+(C) 2004-2006 Hisham H. Muhammad
Released under the GNU GPL, see the COPYING file
in the source distribution for its full text.
*/
+#define _GNU_SOURCE
#include "ProcessList.h"
#include "Object.h"
#include "CRT.h"
@@ -28,9 +29,6 @@ in the source distribution for its full text.
#include <stdbool.h>
#include <pwd.h>
-// TODO: wtf!?
-int kill(pid_t pid, int signal);
-
// This works only with glibc 2.1+. On earlier versions
// the behavior is similar to have a hardcoded page size.
#define PAGE_SIZE ( sysconf(_SC_PAGESIZE) / 1024 )
@@ -133,11 +131,6 @@ void Process_sendSignal(Process* this, int signal);
#define ONE_M (ONE_K * ONE_K)
#define ONE_G (ONE_M * ONE_K)
-
-
-
-inline void Process_writeCommand(Process* this, int attr, RichString* str);
-
void Process_writeField(Process* this, RichString* str, ProcessField field);
int Process_compare(const Object* v1, const Object* v2);

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