diff options
author | Tomáš Kopal <Tomas.Kopal@altap.cz> | 2020-11-07 01:10:50 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-07 00:10:50 +0000 |
commit | bcb9c868275062212f20127c6b450e2770fe418c (patch) | |
tree | 8fd021439217072da0be22d18be5a931b1a16b25 /collectors/tc.plugin | |
parent | b362797e98422b30d9f755888936c96221d2392f (diff) |
Make libnetdata headers compilable by C++. (#10185)
Diffstat (limited to 'collectors/tc.plugin')
-rw-r--r-- | collectors/tc.plugin/plugin_tc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/collectors/tc.plugin/plugin_tc.c b/collectors/tc.plugin/plugin_tc.c index 9245b0857f..b92450efe7 100644 --- a/collectors/tc.plugin/plugin_tc.c +++ b/collectors/tc.plugin/plugin_tc.c @@ -81,7 +81,7 @@ struct tc_device { RRDSET *st_tokens; RRDSET *st_ctokens; - avl_tree classes_index; + avl_tree_type classes_index; struct tc_class *classes; struct tc_class *last_class; @@ -102,7 +102,7 @@ static int tc_device_compare(void* a, void* b) { else return strcmp(((struct tc_device *)a)->id, ((struct tc_device *)b)->id); } -avl_tree tc_device_root_index = { +avl_tree_type tc_device_root_index = { NULL, tc_device_compare }; |