From 7b6362767e71b09ad1604de45c754e798c7dd169 Mon Sep 17 00:00:00 2001 From: vkalintiris Date: Fri, 23 Apr 2021 16:16:40 +0300 Subject: Rename struct fields from class to classification. (#11019) These fields made our headers incompatible with C++, because `class` is a reserved keyword. --- health/health.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'health/health.c') diff --git a/health/health.c b/health/health.c index a3961b5584..85d2a24581 100644 --- a/health/health.c +++ b/health/health.c @@ -930,7 +930,7 @@ void *health_main(void *ptr) { if(likely(!rrdcalc_isrepeating(rc))) { ALARM_ENTRY *ae = health_create_alarm_entry( host, rc->id, rc->next_event_id++, now, rc->name, rc->rrdset->id, - rc->rrdset->family, rc->class, rc->component, rc->type, rc->exec, rc->recipient, now - rc->last_status_change, + rc->rrdset->family, rc->classification, rc->component, rc->type, rc->exec, rc->recipient, now - rc->last_status_change, rc->old_value, rc->value, rc->status, status, rc->source, rc->units, rc->info, rc->delay_last, ( @@ -980,7 +980,7 @@ void *health_main(void *ptr) { rc->last_repeat = now; ALARM_ENTRY *ae = health_create_alarm_entry( host, rc->id, rc->next_event_id++, now, rc->name, rc->rrdset->id, - rc->rrdset->family, rc->class, rc->component, rc->type, rc->exec, rc->recipient, now - rc->last_status_change, + rc->rrdset->family, rc->classification, rc->component, rc->type, rc->exec, rc->recipient, now - rc->last_status_change, rc->old_value, rc->value, rc->old_status, rc->status, rc->source, rc->units, rc->info, rc->delay_last, ( -- cgit v1.2.3