X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Finterface.c;h=0e1397089cb41d177620f4c755320bef6c0ffede;hb=6358e0720149251d1720c4a1a7582bb58f8a65ff;hp=3e2b2cd5fb99362a6b721e3f94ee92a219fbc996;hpb=6e41c3b1f024d7944e5e8010a87933555c662474;p=collectd.git diff --git a/src/interface.c b/src/interface.c index 3e2b2cd5..0e139708 100644 --- a/src/interface.c +++ b/src/interface.c @@ -24,9 +24,9 @@ #include "collectd.h" -#include "common.h" #include "plugin.h" -#include "utils_ignorelist.h" +#include "utils/common/common.h" +#include "utils/ignorelist/ignorelist.h" #if HAVE_SYS_TYPES_H #include @@ -86,7 +86,7 @@ static const char *config_keys[] = { }; static int config_keys_num = STATIC_ARRAY_SIZE(config_keys); -static ignorelist_t *ignorelist = NULL; +static ignorelist_t *ignorelist; static bool report_inactive = true; @@ -97,7 +97,7 @@ static bool report_inactive = true; #define MAX_NUMIF 256 extern kstat_ctl_t *kc; static kstat_t *ksp[MAX_NUMIF]; -static int numif = 0; +static int numif; static bool unique_name; #endif /* HAVE_LIBKSTAT */