1
0
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:
Corentin Le Molgat 2023-09-21 14:07:04 +02:00 committed by Mizux
parent 89a3f0358a
commit 77d27cb108

View File

@ -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);
}