X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fethstat.c;h=0d4c7e1522a6d28a18a52b7a21a9c4e59d9fc516;hb=07ba05937aeaedd683656c3912040950dbf4a152;hp=c234d7e852531bd54ed63c01d58e954afc94a8d6;hpb=61a4ed99b1a5b6d371bb745933d0efc5dff9505c;p=collectd.git diff --git a/src/ethstat.c b/src/ethstat.c index c234d7e8..0d4c7e15 100644 --- a/src/ethstat.c +++ b/src/ethstat.c @@ -48,12 +48,12 @@ 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 = 0; +static bool collect_mapped_only; static int ethstat_add_interface(const oconfig_item_t *ci) /* {{{ */ {