summaryrefslogtreecommitdiff
path: root/usr.sbin/vmd
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/vmd')
-rw-r--r--usr.sbin/vmd/mc146818.c6
-rw-r--r--usr.sbin/vmd/ns8250.c6
2 files changed, 6 insertions, 6 deletions
diff --git a/usr.sbin/vmd/mc146818.c b/usr.sbin/vmd/mc146818.c
index a7bb99402c3..43dce7b10d1 100644
--- a/usr.sbin/vmd/mc146818.c
+++ b/usr.sbin/vmd/mc146818.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: mc146818.c,v 1.25 2022/01/15 23:39:11 mlarkin Exp $ */
+/* $OpenBSD: mc146818.c,v 1.26 2023/04/18 10:27:38 tb Exp $ */
/*
* Copyright (c) 2016 Mike Larkin <mlarkin@openbsd.org>
*
@@ -369,7 +369,7 @@ mc146818_restore(int fd, uint32_t vm_id)
}
void
-mc146818_stop()
+mc146818_stop(void)
{
evtimer_del(&rtc.per);
evtimer_del(&rtc.sec);
@@ -377,7 +377,7 @@ mc146818_stop()
}
void
-mc146818_start()
+mc146818_start(void)
{
evtimer_add(&rtc.sec, &rtc.sec_tv);
event_add(&dev_pipe.read_ev, NULL);
diff --git a/usr.sbin/vmd/ns8250.c b/usr.sbin/vmd/ns8250.c
index 2c20e21cde7..bc23876bf03 100644
--- a/usr.sbin/vmd/ns8250.c
+++ b/usr.sbin/vmd/ns8250.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ns8250.c,v 1.36 2023/03/13 18:09:41 dv Exp $ */
+/* $OpenBSD: ns8250.c,v 1.37 2023/04/18 10:27:38 tb Exp $ */
/*
* Copyright (c) 2016 Mike Larkin <mlarkin@openbsd.org>
*
@@ -682,7 +682,7 @@ ns8250_restore(int fd, int con_fd, uint32_t vmid)
}
void
-ns8250_stop()
+ns8250_stop(void)
{
if(event_del(&com1_dev.event))
log_warn("could not delete ns8250 event handler");
@@ -691,7 +691,7 @@ ns8250_stop()
}
void
-ns8250_start()
+ns8250_start(void)
{
event_add(&com1_dev.event, NULL);
event_add(&com1_dev.wake, NULL);