mirror of
https://github.com/google/cpu_features.git
synced 2025-04-27 15:12:30 +02:00
fix -Wstrict-prototypes error
note: tested using: `add_compile_options("-Werror" "-Wstrict-prototypes")`
This commit is contained in:
parent
89a3f0358a
commit
77d27cb108
@ -153,7 +153,7 @@ const char *CpuFeatures_GetBasePlatformPointer(void) {
|
||||
return (const char *)GetHardwareCapabilitiesFor(AT_BASE_PLATFORM);
|
||||
}
|
||||
|
||||
bool CpuFeatures_IsHwCapCpuidSupported() {
|
||||
bool CpuFeatures_IsHwCapCpuidSupported(void) {
|
||||
return GetElfHwcapFromGetauxval(AARCH64_HWCAP_CPUID);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user