Skip to content

Commit

Permalink
Make more functions static in sysFeatures_intel_turbo.c
Browse files Browse the repository at this point in the history
  • Loading branch information
ipatix committed Oct 14, 2024
1 parent 24b28fd commit d3878ce
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/sysFeatures_intel_turbo.c
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ static int intel_cpu_turbo_test(void)
return likwid_sysft_foreach_hwt_testmsr(MSR_IA32_MISC_ENABLE);
}

int intel_cpu_turbo_getter(const LikwidDevice_t device, char** value)
static int intel_cpu_turbo_getter(const LikwidDevice_t device, char** value)
{
if (intel_cpu_turbo_test())
{
Expand All @@ -30,7 +30,7 @@ int intel_cpu_turbo_getter(const LikwidDevice_t device, char** value)
return -ENOTSUP;
}

int intel_cpu_turbo_setter(const LikwidDevice_t device, const char* value)
static int intel_cpu_turbo_setter(const LikwidDevice_t device, const char* value)
{
if (intel_cpu_turbo_test())
{
Expand Down

0 comments on commit d3878ce

Please sign in to comment.