X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fmic.c;h=6924eaf7773d1b9138c9e59cafa7d3f2e8200e85;hb=25824c65721f0f21cadf1607fad367c7e7831816;hp=b65679e7da226ada84f166c7ccbe2094bafd44aa;hpb=7b0628b4f4688d48d89f94ca381ca6340da05b37;p=collectd.git diff --git a/src/mic.c b/src/mic.c index b65679e7..6924eaf7 100644 --- a/src/mic.c +++ b/src/mic.c @@ -21,9 +21,9 @@ #include "collectd.h" -#include "common.h" #include "plugin.h" -#include "utils_ignorelist.h" +#include "utils/common/common.h" +#include "utils/ignorelist/ignorelist.h" #include #include @@ -35,8 +35,8 @@ #define MAX_CORES 256 static MicDeviceOnSystem mics[MAX_MICS]; -static U32 num_mics = 0; -static HANDLE mic_handle = NULL; +static U32 num_mics; +static HANDLE mic_handle; static int const therm_ids[] = { eMicThermalDie, eMicThermalDevMem, eMicThermalFin, eMicThermalFout, @@ -54,9 +54,9 @@ static bool show_cpu = true; static bool show_cpu_cores = true; static bool show_memory = true; static bool show_temps = true; -static ignorelist_t *temp_ignore = NULL; +static ignorelist_t *temp_ignore; static bool show_power = true; -static ignorelist_t *power_ignore = NULL; +static ignorelist_t *power_ignore; static int mic_init(void) { U32 ret;