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

@@ -31,7 +31,7 @@
hwm_values_t hwm_values;
uint16_t
hwm_get_vcore()
hwm_get_vcore(void)
{
/* Determine Vcore for the active CPU. */
return cpu_s->voltage;

View File

@@ -367,7 +367,7 @@ kbd_log(const char *fmt, ...)
#endif
static uint8_t
get_fdd_switch_settings()
get_fdd_switch_settings(void)
{
int i, fdd_count = 0;
@@ -384,7 +384,7 @@ get_fdd_switch_settings()
}
static uint8_t
get_videomode_switch_settings()
get_videomode_switch_settings(void)
{
if (video_is_mda())

View File

@@ -87,7 +87,7 @@ static mouse_t mouse_devices[] = {
static const device_t *mouse_curr;
static void *mouse_priv;
static int mouse_nbut;
static int (*mouse_dev_poll)();
static int (*mouse_dev_poll)(int x, int y, int z, int b, void *priv);
#ifdef ENABLE_MOUSE_LOG
int mouse_do_log = ENABLE_MOUSE_LOG;