minimp3: Fix function signature of have_simd

Signed-off-by: Christopher Snowhill <kode54@gmail.com>
This commit is contained in:
Jörn Heusipp 2025-06-27 03:36:14 -07:00 committed by Christopher Snowhill
parent 1601206b57
commit ad71b64a21
2 changed files with 2 additions and 2 deletions

View file

@ -176,7 +176,7 @@ end:
#define VMUL_S(x, s) vmulq_f32(x, vmovq_n_f32(s))
#define VREV(x) vcombine_f32(vget_high_f32(vrev64q_f32(x)), vget_low_f32(vrev64q_f32(x)))
typedef float32x4_t f4;
static int have_simd()
static int have_simd(void)
{ /* TODO: detect neon for !MINIMP3_ONLY_SIMD */
return 1;
}

View file

@ -176,7 +176,7 @@ end:
#define VMUL_S(x, s) vmulq_f32(x, vmovq_n_f32(s))
#define VREV(x) vcombine_f32(vget_high_f32(vrev64q_f32(x)), vget_low_f32(vrev64q_f32(x)))
typedef float32x4_t f4;
static int have_simd()
static int have_simd(void)
{ /* TODO: detect neon for !MINIMP3_ONLY_SIMD */
return 1;
}