diff options
author | Bartosz Fenski <fenio@debian.org> | 2006-07-04 07:53:58 +0200 |
---|---|---|
committer | Daniel Lange <DLange@git.local> | 2016-04-11 13:00:20 +0200 |
commit | f520e61979ccb94cf3f6f8e5c67784c6c260924e (patch) | |
tree | def71eddd6245b5f8a81d0b2ebdb22dfcd597da5 /Process.h | |
parent | 73c04eaf1f6f01d0f8c15e8b70f68eda70bebc37 (diff) | |
parent | ea859f50d9438bc61ae96721a4d255b49de78653 (diff) | |
download | debian_htop-f520e61979ccb94cf3f6f8e5c67784c6c260924e.tar.gz debian_htop-f520e61979ccb94cf3f6f8e5c67784c6c260924e.tar.bz2 debian_htop-f520e61979ccb94cf3f6f8e5c67784c6c260924e.zip |
Imported Debian patch 0.6.2-1debian/0.6.2-1
Diffstat (limited to 'Process.h')
-rw-r--r-- | Process.h | 11 |
1 files changed, 2 insertions, 9 deletions
@@ -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); |