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/PCPDynamicScreen.c | |
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/PCPDynamicScreen.c')
-rw-r--r-- | pcp/PCPDynamicScreen.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pcp/PCPDynamicScreen.c b/pcp/PCPDynamicScreen.c index 573bc427..a4622e34 100644 --- a/pcp/PCPDynamicScreen.c +++ b/pcp/PCPDynamicScreen.c @@ -57,8 +57,8 @@ static void PCPDynamicScreens_appendDynamicColumns(PCPDynamicScreens* screens, P columns->count++; if (j == 0) { - const pmDesc* desc = PCPMetric_desc(column->id); - assert(desc->indom != PM_INDOM_NULL); + const pmDesc* desc = Metric_desc(column->id); + assert(desc->indom != PM_INDOM_NULL); screen->indom = desc->indom; screen->key = column->id; } @@ -126,7 +126,7 @@ static void PCPDynamicScreen_parseColumn(PCPDynamicScreen* screen, const char* p /* pmLookupText - add optional metric help text */ if (!column->super.description && !column->instances) - PCPMetric_lookupText(value, &column->super.description); + Metric_lookupText(value, &column->super.description); } else { /* this is a property of a dynamic column - the column expression */ |