We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d9e79a5 commit f640102Copy full SHA for f640102
src/detection/cpu/cpu_linux.c
@@ -67,7 +67,7 @@ static double getFrequency(const char* info, const char* scaling)
67
return getGHz(scaling);
68
}
69
70
-static double detectCPUTemp()
+static double detectCPUTemp(void)
71
{
72
const FFTempsResult* temps = ffDetectTemps();
73
@@ -107,7 +107,7 @@ static void parseIsa(FFstrbuf* cpuIsa)
107
void ffDetectCPUImpl(const FFinstance* instance, FFCPUResult* cpu)
108
109
if(instance->config.cpuTemp)
110
- cpu->temperature = detectCPUTemp(instance);
+ cpu->temperature = detectCPUTemp();
111
else
112
cpu->temperature = FF_CPU_TEMP_UNSET;
113
0 commit comments