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 /registry | |
parent | b362797e98422b30d9f755888936c96221d2392f (diff) |
Make libnetdata headers compilable by C++. (#10185)
Diffstat (limited to 'registry')
-rw-r--r-- | registry/registry_internals.h | 2 | ||||
-rw-r--r-- | registry/registry_person.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/registry/registry_internals.h b/registry/registry_internals.h index c126e454bd..0eb83a436f 100644 --- a/registry/registry_internals.h +++ b/registry/registry_internals.h @@ -57,7 +57,7 @@ struct registry { DICTIONARY *persons; // dictionary of REGISTRY_PERSON *, with key the REGISTRY_PERSON.guid DICTIONARY *machines; // dictionary of REGISTRY_MACHINE *, with key the REGISTRY_MACHINE.guid - avl_tree registry_urls_root_index; + avl_tree_type registry_urls_root_index; netdata_mutex_t lock; }; diff --git a/registry/registry_person.h b/registry/registry_person.h index 30e9cb5139..9a4aa959b9 100644 --- a/registry/registry_person.h +++ b/registry/registry_person.h @@ -30,7 +30,7 @@ typedef struct registry_person_url REGISTRY_PERSON_URL; struct registry_person { char guid[GUID_LEN + 1]; // the person GUID - avl_tree person_urls; // dictionary of PERSON_URLs + avl_tree_type person_urls; // dictionary of PERSON_URLs uint32_t first_t; // the first time we saw this uint32_t last_t; // the last time we saw this |