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 /libnetdata/dictionary | |
parent | b362797e98422b30d9f755888936c96221d2392f (diff) |
Make libnetdata headers compilable by C++. (#10185)
Diffstat (limited to 'libnetdata/dictionary')
-rw-r--r-- | libnetdata/dictionary/dictionary.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libnetdata/dictionary/dictionary.h b/libnetdata/dictionary/dictionary.h index 9be261eb22..fc24ec2ecf 100644 --- a/libnetdata/dictionary/dictionary.h +++ b/libnetdata/dictionary/dictionary.h @@ -13,7 +13,7 @@ struct dictionary_stats { }; typedef struct name_value { - avl avl; // the index - this has to be first! + avl avl_node; // the index - this has to be first! uint32_t hash; // a simple hash to speed up searching // we first compare hashes, and only if the hashes are equal we do string comparisons @@ -23,7 +23,7 @@ typedef struct name_value { } NAME_VALUE; typedef struct dictionary { - avl_tree values_index; + avl_tree_type values_index; uint8_t flags; |