summaryrefslogtreecommitdiffstats
path: root/collectors/apps.plugin
diff options
context:
space:
mode:
authorTomáš Kopal <Tomas.Kopal@altap.cz>2020-11-07 01:10:50 +0100
committerGitHub <noreply@github.com>2020-11-07 00:10:50 +0000
commitbcb9c868275062212f20127c6b450e2770fe418c (patch)
tree8fd021439217072da0be22d18be5a931b1a16b25 /collectors/apps.plugin
parentb362797e98422b30d9f755888936c96221d2392f (diff)
Make libnetdata headers compilable by C++. (#10185)
Diffstat (limited to 'collectors/apps.plugin')
-rw-r--r--collectors/apps.plugin/apps_plugin.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/collectors/apps.plugin/apps_plugin.c b/collectors/apps.plugin/apps_plugin.c
index 4ec8c29ae7..b440bcd5ec 100644
--- a/collectors/apps.plugin/apps_plugin.c
+++ b/collectors/apps.plugin/apps_plugin.c
@@ -535,7 +535,7 @@ enum user_or_group_id_type {
struct user_or_group_ids{
enum user_or_group_id_type type;
- avl_tree index;
+ avl_tree_type index;
struct user_or_group_id *root;
char filename[FILENAME_MAX + 1];
@@ -1691,7 +1691,7 @@ int file_descriptor_compare(void* a, void* b) {
// int file_descriptor_iterator(avl *a) { if(a) {}; return 0; }
-avl_tree all_files_index = {
+avl_tree_type all_files_index = {
NULL,
file_descriptor_compare
};