Fix function declaration without a prototype warnings

This commit is contained in:
libretroadmin 2023-05-29 15:34:37 +02:00
parent 735500ff66
commit cedcd70c63
4 changed files with 6 additions and 6 deletions

View File

@ -37,7 +37,7 @@ bool rcheevos_unload(void);
void rcheevos_test(void);
void rcheevos_reset_game(bool widgets_ready);
void rcheevos_refresh_memory();
void rcheevos_refresh_memory(void);
void rcheevos_pause_hardcore(void);
void rcheevos_hardcore_enabled_changed(void);

2
deps/7zip/7zCrc.c vendored
View File

@ -53,7 +53,7 @@ uint32_t MY_FAST_CALL CrcUpdateT1(uint32_t v, const void *data, size_t size, con
return v;
}
void MY_FAST_CALL CrcGenerateTable()
void MY_FAST_CALL CrcGenerateTable(void)
{
uint32_t i;
for (i = 0; i < 256; i++)

4
deps/dr/dr_flac.h vendored
View File

@ -788,7 +788,7 @@ static void drflac__init_cpu_caps()
/* 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)
return DRFLAC_TRUE;
@ -1618,7 +1618,7 @@ static DRFLAC_INLINE drflac_uint32 drflac__clz_software(drflac_cache_t x)
}
#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. */
#ifdef DRFLAC_HAS_LZCNT_INTRINSIC

4
deps/dr/dr_mp3.h vendored
View File

@ -337,7 +337,7 @@ static INLINE __attribute__((always_inline)) void drmp3_cpuid(int CPUInfo[], con
#endif
}
#endif
static int drmp3_have_simd()
static int drmp3_have_simd(void)
{
#ifdef DR_MP3_ONLY_SIMD
return 1;
@ -379,7 +379,7 @@ test_nosimd:
#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)))
typedef float32x4_t drmp3_f4;
static int drmp3_have_simd()
static int drmp3_have_simd(void)
{ /* TODO: detect neon for !DR_MP3_ONLY_SIMD */
return 1;
}