mirror of
https://github.com/86Box/86Box.git
synced 2026-02-22 09:35:32 -07:00
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:
@@ -84,7 +84,7 @@ cbm_io_write(uint16_t port, uint8_t val, void *p)
|
||||
}
|
||||
|
||||
static void
|
||||
cbm_io_init()
|
||||
cbm_io_init(void)
|
||||
{
|
||||
io_sethandler(0x0230, 0x0001, NULL, NULL, NULL, cbm_io_write, NULL, NULL, NULL);
|
||||
}
|
||||
|
||||
@@ -169,7 +169,7 @@
|
||||
|
||||
extern uint8_t *ram; /* Physical RAM */
|
||||
|
||||
void at_init();
|
||||
void at_init(void);
|
||||
|
||||
/* The T3100e motherboard can (and does) dynamically reassign RAM between
|
||||
* conventional, XMS and EMS. This translates to monkeying with the mappings.
|
||||
@@ -336,7 +336,7 @@ port_to_page(uint16_t addr)
|
||||
}
|
||||
|
||||
/* Used to dump the memory mapping table, for debugging
|
||||
void dump_mappings()
|
||||
void dump_mappings(void)
|
||||
{
|
||||
mem_mapping_t *mm = base_mapping.next;
|
||||
|
||||
|
||||
@@ -102,7 +102,7 @@ t3100e_display_set(uint8_t internal)
|
||||
}
|
||||
|
||||
uint8_t
|
||||
t3100e_display_get()
|
||||
t3100e_display_get(void)
|
||||
{
|
||||
return st_display_internal;
|
||||
}
|
||||
|
||||
@@ -806,7 +806,7 @@ ps2_mca_write(uint16_t port, uint8_t val, void *p)
|
||||
}
|
||||
|
||||
static void
|
||||
ps2_mca_board_common_init()
|
||||
ps2_mca_board_common_init(void)
|
||||
{
|
||||
io_sethandler(0x0091, 0x0001, ps2_mca_read, NULL, NULL, ps2_mca_write, NULL, NULL, NULL);
|
||||
io_sethandler(0x0094, 0x0001, ps2_mca_read, NULL, NULL, ps2_mca_write, NULL, NULL, NULL);
|
||||
|
||||
@@ -201,7 +201,7 @@ mm58174_time_get(uint8_t *regs, struct tm *tm)
|
||||
|
||||
/* One more second has passed, update the internal clock. */
|
||||
static void
|
||||
mm58x74_recalc()
|
||||
mm58x74_recalc(void)
|
||||
{
|
||||
/* Ping the internal clock. */
|
||||
if (++intclk.tm_sec == 60) {
|
||||
|
||||
@@ -94,7 +94,7 @@ t1000_display_set(uint8_t internal)
|
||||
}
|
||||
|
||||
uint8_t
|
||||
t1000_display_get()
|
||||
t1000_display_get(void)
|
||||
{
|
||||
return (uint8_t) st_display_internal;
|
||||
}
|
||||
|
||||
@@ -37,7 +37,7 @@ typedef struct xi8088_t {
|
||||
static xi8088_t xi8088;
|
||||
|
||||
uint8_t
|
||||
xi8088_turbo_get()
|
||||
xi8088_turbo_get(void)
|
||||
{
|
||||
return xi8088.turbo;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user