X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fturbostat.c;h=fc1b5dccc0dd3c4b2c2c848b1de1f9a57c95c156;hb=1fc00932fd49fa535551cc4bba09c4e4be059ab4;hp=7784e9b915ed5903d715a7d426b1a49a155f4b24;hpb=e9ab5139a3bf01f70fe0a0f01d85d027a551efb3;p=collectd.git diff --git a/src/turbostat.c b/src/turbostat.c index 7784e9b9..fc1b5dcc 100644 --- a/src/turbostat.c +++ b/src/turbostat.c @@ -805,7 +805,7 @@ guess: * Identify the functionality of the CPU */ static int __attribute__((warn_unused_result)) -probe_cpu() +probe_cpu(void) { unsigned int eax, ebx, ecx, edx, max_level; unsigned int fms, family, model; @@ -1147,7 +1147,7 @@ allocate_cpu_set(cpu_set_t ** set, size_t * size) { * Build a local representation of the cpu distribution */ static int __attribute__((warn_unused_result)) -topology_probe() +topology_probe(void) { unsigned int i; int ret;