refactor(linting): fixed warnings given by clang
This commit is contained in:
parent
8359efa2bc
commit
d497356835
7 changed files with 9 additions and 9 deletions
|
|
@ -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
|
||||||
|
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue