mirror of
https://github.com/google/cpu_features.git
synced 2025-04-27 23:22:31 +02:00
Remove unused function (#343)
This is causing the build to fail with stricter warnings. `error: no previous prototype for function 'CpuFeatures_IsHwCapCpuidSupported' [-Werror,-Wmissing-prototypes]`
This commit is contained in:
parent
77d27cb108
commit
ec7d390a90
@ -153,9 +153,5 @@ const char *CpuFeatures_GetBasePlatformPointer(void) {
|
|||||||
return (const char *)GetHardwareCapabilitiesFor(AT_BASE_PLATFORM);
|
return (const char *)GetHardwareCapabilitiesFor(AT_BASE_PLATFORM);
|
||||||
}
|
}
|
||||||
|
|
||||||
bool CpuFeatures_IsHwCapCpuidSupported(void) {
|
|
||||||
return GetElfHwcapFromGetauxval(AARCH64_HWCAP_CPUID);
|
|
||||||
}
|
|
||||||
|
|
||||||
#endif // CPU_FEATURES_TEST
|
#endif // CPU_FEATURES_TEST
|
||||||
#endif // defined(CPU_FEATURES_OS_LINUX) || defined(CPU_FEATURES_OS_ANDROID)
|
#endif // defined(CPU_FEATURES_OS_LINUX) || defined(CPU_FEATURES_OS_ANDROID)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user