Fix function declaration without a prototype warnings
This commit is contained in:
parent
735500ff66
commit
cedcd70c63
|
@ -37,7 +37,7 @@ bool rcheevos_unload(void);
|
||||||
void rcheevos_test(void);
|
void rcheevos_test(void);
|
||||||
|
|
||||||
void rcheevos_reset_game(bool widgets_ready);
|
void rcheevos_reset_game(bool widgets_ready);
|
||||||
void rcheevos_refresh_memory();
|
void rcheevos_refresh_memory(void);
|
||||||
|
|
||||||
void rcheevos_pause_hardcore(void);
|
void rcheevos_pause_hardcore(void);
|
||||||
void rcheevos_hardcore_enabled_changed(void);
|
void rcheevos_hardcore_enabled_changed(void);
|
||||||
|
|
|
@ -53,7 +53,7 @@ uint32_t MY_FAST_CALL CrcUpdateT1(uint32_t v, const void *data, size_t size, con
|
||||||
return v;
|
return v;
|
||||||
}
|
}
|
||||||
|
|
||||||
void MY_FAST_CALL CrcGenerateTable()
|
void MY_FAST_CALL CrcGenerateTable(void)
|
||||||
{
|
{
|
||||||
uint32_t i;
|
uint32_t i;
|
||||||
for (i = 0; i < 256; i++)
|
for (i = 0; i < 256; i++)
|
||||||
|
|
|
@ -788,7 +788,7 @@ static void drflac__init_cpu_caps()
|
||||||
|
|
||||||
|
|
||||||
/* Endian Management */
|
/* Endian Management */
|
||||||
static DRFLAC_INLINE drflac_bool32 drflac__is_little_endian()
|
static DRFLAC_INLINE drflac_bool32 drflac__is_little_endian(void)
|
||||||
{
|
{
|
||||||
#if defined(DRFLAC_X86) || defined(DRFLAC_X64)
|
#if defined(DRFLAC_X86) || defined(DRFLAC_X64)
|
||||||
return DRFLAC_TRUE;
|
return DRFLAC_TRUE;
|
||||||
|
@ -1618,7 +1618,7 @@ static DRFLAC_INLINE drflac_uint32 drflac__clz_software(drflac_cache_t x)
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef DRFLAC_IMPLEMENT_CLZ_LZCNT
|
#ifdef DRFLAC_IMPLEMENT_CLZ_LZCNT
|
||||||
static DRFLAC_INLINE drflac_bool32 drflac__is_lzcnt_supported()
|
static DRFLAC_INLINE drflac_bool32 drflac__is_lzcnt_supported(void)
|
||||||
{
|
{
|
||||||
/* If the compiler itself does not support the intrinsic then we'll need to return false. */
|
/* If the compiler itself does not support the intrinsic then we'll need to return false. */
|
||||||
#ifdef DRFLAC_HAS_LZCNT_INTRINSIC
|
#ifdef DRFLAC_HAS_LZCNT_INTRINSIC
|
||||||
|
|
|
@ -337,7 +337,7 @@ static INLINE __attribute__((always_inline)) void drmp3_cpuid(int CPUInfo[], con
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
static int drmp3_have_simd()
|
static int drmp3_have_simd(void)
|
||||||
{
|
{
|
||||||
#ifdef DR_MP3_ONLY_SIMD
|
#ifdef DR_MP3_ONLY_SIMD
|
||||||
return 1;
|
return 1;
|
||||||
|
@ -379,7 +379,7 @@ test_nosimd:
|
||||||
#define DRMP3_VMUL_S(x, s) vmulq_f32(x, vmovq_n_f32(s))
|
#define DRMP3_VMUL_S(x, s) vmulq_f32(x, vmovq_n_f32(s))
|
||||||
#define DRMP3_VREV(x) vcombine_f32(vget_high_f32(vrev64q_f32(x)), vget_low_f32(vrev64q_f32(x)))
|
#define DRMP3_VREV(x) vcombine_f32(vget_high_f32(vrev64q_f32(x)), vget_low_f32(vrev64q_f32(x)))
|
||||||
typedef float32x4_t drmp3_f4;
|
typedef float32x4_t drmp3_f4;
|
||||||
static int drmp3_have_simd()
|
static int drmp3_have_simd(void)
|
||||||
{ /* TODO: detect neon for !DR_MP3_ONLY_SIMD */
|
{ /* TODO: detect neon for !DR_MP3_ONLY_SIMD */
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue