summaryrefslogtreecommitdiffstats
path: root/Process.h
diff options
context:
space:
mode:
authorChristian Göttsche <cgzones@googlemail.com>2020-09-28 12:32:55 +0200
committercgzones <cgzones@googlemail.com>2020-09-29 10:44:42 +0200
commit241e4b3dbf8ebee4a12a337dec725b3547c242e9 (patch)
tree13d3fa8e3293ff3c7c788e89629b6d3ae4eae97d /Process.h
parent7ae967a04b7a05ce1f3b77035ba06be904ff6b0d (diff)
Drop redundant declarations
- `CRT_fatalError()` is declared twice in CRT.h - `Process_pidFormat`, `Process_writeField()` and `Process_compare` are declared twice in Process.h - `btime` is defined in LinuxProcess.c and also declared in LinuxProcess.h, so drop in LinuxProcessList.h
Diffstat (limited to 'Process.h')
-rw-r--r--Process.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/Process.h b/Process.h
index aff4374a..404f73e6 100644
--- a/Process.h
+++ b/Process.h
@@ -148,8 +148,6 @@ typedef struct ProcessClass_ {
#define ONE_DECIMAL_G (ONE_DECIMAL_M * ONE_DECIMAL_K)
#define ONE_DECIMAL_T ((long long)ONE_DECIMAL_G * ONE_DECIMAL_K)
-extern char Process_pidFormat[20];
-
void Process_setupColumnWidths(void);
void Process_humanNumber(RichString* str, unsigned long number, bool coloring);
@@ -160,8 +158,6 @@ void Process_printTime(RichString* str, unsigned long long totalHundredths);
void Process_outputRate(RichString* str, char* buffer, int n, double rate, int coloring);
-void Process_writeField(Process* this, RichString* str, ProcessField field);
-
void Process_display(Object* cast, RichString* out);
void Process_done(Process* this);
@@ -180,6 +176,4 @@ bool Process_sendSignal(Process* this, Arg sgn);
long Process_pidCompare(const void* v1, const void* v2);
-long Process_compare(const void* v1, const void* v2);
-
#endif

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