mirror of
https://github.com/google/cpu_features.git
synced 2025-07-01 21:31:15 +02:00
fix -Wstrict-prototypes error
note: tested using: `add_compile_options("-Werror" "-Wstrict-prototypes")`
This commit is contained in:

committed by
Mizux

parent
89a3f0358a
commit
77d27cb108
@ -153,7 +153,7 @@ const char *CpuFeatures_GetBasePlatformPointer(void) {
|
|||||||
return (const char *)GetHardwareCapabilitiesFor(AT_BASE_PLATFORM);
|
return (const char *)GetHardwareCapabilitiesFor(AT_BASE_PLATFORM);
|
||||||
}
|
}
|
||||||
|
|
||||||
bool CpuFeatures_IsHwCapCpuidSupported() {
|
bool CpuFeatures_IsHwCapCpuidSupported(void) {
|
||||||
return GetElfHwcapFromGetauxval(AARCH64_HWCAP_CPUID);
|
return GetElfHwcapFromGetauxval(AARCH64_HWCAP_CPUID);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user