X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fethstat.c;h=0d4c7e1522a6d28a18a52b7a21a9c4e59d9fc516;hb=07ba05937aeaedd683656c3912040950dbf4a152;hp=316c25fcc3a6f728b5daac223b6de852146b9a22;hpb=7b0628b4f4688d48d89f94ca381ca6340da05b37;p=collectd.git diff --git a/src/ethstat.c b/src/ethstat.c index 316c25fc..0d4c7e15 100644 --- a/src/ethstat.c +++ b/src/ethstat.c @@ -48,10 +48,10 @@ struct value_map_s { }; typedef struct value_map_s value_map_t; -static char **interfaces = NULL; -static size_t interfaces_num = 0; +static char **interfaces; +static size_t interfaces_num; -static c_avl_tree_t *value_map = NULL; +static c_avl_tree_t *value_map; static bool collect_mapped_only;