Skip to content

Commit

Permalink
Remove unused function (#343)
Browse files Browse the repository at this point in the history
This is causing the build to fail with stricter warnings.
`error: no previous prototype for function 'CpuFeatures_IsHwCapCpuidSupported' [-Werror,-Wmissing-prototypes]`
  • Loading branch information
gchatelet authored Sep 21, 2023
1 parent 77d27cb commit ec7d390
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/hwcaps_linux_or_android.c
Original file line number Diff line number Diff line change
Expand Up @@ -153,9 +153,5 @@ const char *CpuFeatures_GetBasePlatformPointer(void) {
return (const char *)GetHardwareCapabilitiesFor(AT_BASE_PLATFORM);
}

bool CpuFeatures_IsHwCapCpuidSupported(void) {
return GetElfHwcapFromGetauxval(AARCH64_HWCAP_CPUID);
}

#endif // CPU_FEATURES_TEST
#endif // defined(CPU_FEATURES_OS_LINUX) || defined(CPU_FEATURES_OS_ANDROID)

0 comments on commit ec7d390

Please sign in to comment.