diff options
author | Nathan Scott <nathans@redhat.com> | 2023-08-29 18:09:19 +1000 |
---|---|---|
committer | Nathan Scott <nathans@redhat.com> | 2023-08-30 13:11:57 +1000 |
commit | c9ad6a90cb49a2b65d8104b4ecb917bf7e95c821 (patch) | |
tree | 2799a3be6bce5b7bc249500912cf6f6f28b302b1 /pcp/Platform.h | |
parent | 53bdcab942298e0e452d62237bc18e3a4cd551cf (diff) |
Rename PCPMetric files, structures and related internal functions
Simplify names to just Metric in this case as it is not mirroring
core htop naming (which is the norm for that naming convention).
Diffstat (limited to 'pcp/Platform.h')
-rw-r--r-- | pcp/Platform.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pcp/Platform.h b/pcp/Platform.h index f2e8a49d..ce21f845 100644 --- a/pcp/Platform.h +++ b/pcp/Platform.h @@ -36,10 +36,10 @@ in the source distribution for its full text. #include "SignalsPanel.h" #include "CommandLine.h" +#include "pcp/Metric.h" #include "pcp/PCPDynamicColumn.h" #include "pcp/PCPDynamicMeter.h" #include "pcp/PCPDynamicScreen.h" -#include "pcp/PCPMetric.h" typedef struct Platform_ { @@ -131,7 +131,7 @@ CommandLineStatus Platform_getLongOption(int opt, int argc, char** argv); extern pmOptions opts; -size_t Platform_addMetric(PCPMetric id, const char* name); +size_t Platform_addMetric(Metric id, const char* name); void Platform_getFileDescriptors(double* used, double* max); |