Skip to content

Commit

Permalink
fix -Wstrict-prototypes error
Browse files Browse the repository at this point in the history
note: tested using: `add_compile_options("-Werror" "-Wstrict-prototypes")`
  • Loading branch information
Mizux committed Sep 21, 2023
1 parent 89a3f03 commit c018972
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/hwcaps_linux_or_android.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

Expand Down

0 comments on commit c018972

Please sign in to comment.