Makefile.mingw corrections and made the code pass much stricter checks (now mandated by Makefile.mignw) to ensure GCC 14 readiness.

This commit is contained in:
OBattler
2022-11-17 22:44:06 +01:00
parent 74eb753d59
commit 27ebb27db7
108 changed files with 682 additions and 680 deletions

View File

@@ -96,7 +96,7 @@ f82c425_display_set(uint8_t internal)
}
uint8_t
f82c425_display_get()
f82c425_display_get(void)
{
return (uint8_t) st_display_internal;
}

View File

@@ -783,7 +783,7 @@ genius_close(void *p)
}
static int
genius_available()
genius_available(void)
{
return rom_present(BIOS_ROM_PATH);
}

View File

@@ -1034,7 +1034,7 @@ im1024_close(void *priv)
}
static int
im1024_available()
im1024_available(void)
{
return rom_present(BIOS_ROM_PATH);
}

View File

@@ -535,7 +535,7 @@ ogc_speed_changed(void *priv)
}
void
ogc_mdaattr_rebuild()
ogc_mdaattr_rebuild(void)
{
int c;

View File

@@ -74,9 +74,8 @@ svga_log(const char *fmt, ...)
# define svga_log(fmt, ...)
#endif
svga_t
*
svga_get_pri()
svga_t *
svga_get_pri(void)
{
return svga_pri;
}

View File

@@ -876,7 +876,7 @@ voodoo_force_blit(void *p)
}
void *
voodoo_card_init()
voodoo_card_init(void)
{
int c;
voodoo_t *voodoo = malloc(sizeof(voodoo_t));
@@ -1152,7 +1152,7 @@ voodoo_2d3d_card_init(int type)
}
void *
voodoo_init()
voodoo_init(const device_t *info)
{
voodoo_set_t *voodoo_set = malloc(sizeof(voodoo_set_t));
uint32_t tmuConfig = 1;