refactor(linting): fixed warnings given by clang

This commit is contained in:
Mineplay 2025-10-05 09:40:33 -05:00
parent 8359efa2bc
commit d497356835
7 changed files with 9 additions and 9 deletions

View file

@ -50,6 +50,6 @@ typedef enum {
HALLOCY_SIMD_NEON = 7 HALLOCY_SIMD_NEON = 7
} HallocySimdType; } HallocySimdType;
HallocySimdType hallocy_is_simd_supported(); HallocySimdType hallocy_is_simd_supported(void);
#endif #endif

View file

@ -23,7 +23,7 @@
static HallocySimdType hallocy_supported_simd = HALLOCY_SIMD_UNDEFINED; static HallocySimdType hallocy_supported_simd = HALLOCY_SIMD_UNDEFINED;
HallocySimdType hallocy_is_simd_supported() { HallocySimdType hallocy_is_simd_supported(void) {
if (hallocy_supported_simd != HALLOCY_SIMD_UNDEFINED) { if (hallocy_supported_simd != HALLOCY_SIMD_UNDEFINED) {
return hallocy_supported_simd; return hallocy_supported_simd;
} }