Move externs of onboard RTC device_t's to isartc.h

This commit is contained in:
Alexander Babikov
2025-11-09 00:02:50 +05:00
parent 42e88198d9
commit 6237f784f6
2 changed files with 5 additions and 3 deletions

View File

@@ -55,6 +55,10 @@ extern int isartc_get_from_internal_name(const char *str);
extern const device_t *isartc_get_device(int t);
extern int isartc_has_config(int board);
/* On-board RTC devices */
extern const device_t vendex_xt_rtc_onboard_device;
extern const device_t rtc58167_device;
#ifdef __cplusplus
}
#endif

View File

@@ -37,6 +37,7 @@
#include <86box/serial.h>
#include <86box/sio.h>
#include <86box/ibm_5161.h>
#include <86box/isartc.h>
#include <86box/keyboard.h>
#include <86box/rom.h>
#include <86box/machine.h>
@@ -45,9 +46,6 @@
#include <86box/port_6x.h>
#include <86box/video.h>
extern const device_t vendex_xt_rtc_onboard_device;
extern const device_t rtc58167_device;
/* 8088 */
static void
machine_xt_common_init(const machine_t *model, int fixed_floppy)