diff options
author | Christian Göttsche <cgzones@googlemail.com> | 2021-12-16 15:37:01 +0100 |
---|---|---|
committer | cgzones <cgzones@googlemail.com> | 2021-12-17 14:45:15 +0100 |
commit | 14f428a1721a7b179be7b650135ec591c215564e (patch) | |
tree | 426bc1101cbf85a94855f6614e7abc4469aa9b77 | |
parent | 6388033e107a74a6e962eabf4ec06065d12d28db (diff) |
Drop unused Platform variables
-rw-r--r-- | darwin/Platform.c | 2 | ||||
-rw-r--r-- | netbsd/Platform.c | 2 | ||||
-rw-r--r-- | netbsd/Platform.h | 2 | ||||
-rw-r--r-- | pcp/Platform.c | 4 | ||||
-rw-r--r-- | pcp/Platform.h | 4 |
5 files changed, 0 insertions, 14 deletions
diff --git a/darwin/Platform.c b/darwin/Platform.c index 7fda8309..dcdee1a5 100644 --- a/darwin/Platform.c +++ b/darwin/Platform.c @@ -59,8 +59,6 @@ ScreenDefaults Platform_defaultScreens[] = { const unsigned int Platform_numberOfDefaultScreens = ARRAYSIZE(Platform_defaultScreens); -const ProcessField Platform_defaultFields[] = { PID, USER, PRIORITY, NICE, M_VIRT, M_RESIDENT, STATE, PERCENT_CPU, PERCENT_MEM, TIME, COMM, 0 }; - const SignalItem Platform_signals[] = { { .name = " 0 Cancel", .number = 0 }, { .name = " 1 SIGHUP", .number = 1 }, diff --git a/netbsd/Platform.c b/netbsd/Platform.c index 724ab0de..d95be9d9 100644 --- a/netbsd/Platform.c +++ b/netbsd/Platform.c @@ -66,8 +66,6 @@ in the source distribution for its full text. #define prop_number_signed_value prop_number_integer_value #endif -const ProcessField Platform_defaultFields[] = { PID, USER, PRIORITY, NICE, M_VIRT, M_RESIDENT, STATE, PERCENT_CPU, PERCENT_MEM, TIME, COMM, 0 }; - ScreenDefaults Platform_defaultScreens[] = { { .name = "Main", diff --git a/netbsd/Platform.h b/netbsd/Platform.h index 407a56f9..428eb15a 100644 --- a/netbsd/Platform.h +++ b/netbsd/Platform.h @@ -34,8 +34,6 @@ in the source distribution for its full text. #define PLATFORM_LONG_OPTIONS \ // End of list -extern const ProcessField Platform_defaultFields[]; - extern ScreenDefaults Platform_defaultScreens[]; extern const unsigned int Platform_numberOfDefaultScreens; diff --git a/pcp/Platform.c b/pcp/Platform.c index f6de7d9c..952ec7ca 100644 --- a/pcp/Platform.c +++ b/pcp/Platform.c @@ -69,10 +69,6 @@ ScreenDefaults Platform_defaultScreens[] = { const unsigned int Platform_numberOfDefaultScreens = ARRAYSIZE(Platform_defaultScreens); -ProcessField Platform_defaultFields[] = { PID, USER, PRIORITY, NICE, M_VIRT, M_RESIDENT, (int)M_SHARE, STATE, PERCENT_CPU, PERCENT_MEM, TIME, COMM, 0 }; - -int Platform_numberOfFields = LAST_PROCESSFIELD; - const SignalItem Platform_signals[] = { { .name = " 0 Cancel", .number = 0 }, }; diff --git a/pcp/Platform.h b/pcp/Platform.h index f080df28..242e742e 100644 --- a/pcp/Platform.h +++ b/pcp/Platform.h @@ -62,10 +62,6 @@ extern ScreenDefaults Platform_defaultScreens[]; extern const unsigned int Platform_numberOfDefaultScreens; -extern ProcessField Platform_defaultFields[]; - -extern int Platform_numberOfFields; - extern const SignalItem Platform_signals[]; extern const unsigned int Platform_numberOfSignals; |