X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fethstat.c;h=f8bc5b540ab29cbebbe269e3e01b819a83952ca9;hb=e10ce37462d3002c296efe1b5b955a0a498d1f3b;hp=371020c97b2b4a99cc1c790a7d4afb93239b7550;hpb=a396da422740caf336a6d594515e8d80de6f440a;p=collectd.git diff --git a/src/ethstat.c b/src/ethstat.c index 371020c9..f8bc5b54 100644 --- a/src/ethstat.c +++ b/src/ethstat.c @@ -24,9 +24,9 @@ #include "collectd.h" -#include "common.h" #include "plugin.h" -#include "utils_avltree.h" +#include "utils/avltree/avltree.h" +#include "utils/common/common.h" #include "utils_complain.h" #if HAVE_SYS_IOCTL_H @@ -49,7 +49,7 @@ struct value_map_s { typedef struct value_map_s value_map_t; static char **interfaces; -static size_t interfaces_num = 0; +static size_t interfaces_num; static c_avl_tree_t *value_map;