summaryrefslogtreecommitdiff
path: root/usr.sbin/vmd/mc146818.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/vmd/mc146818.c')
-rw-r--r--usr.sbin/vmd/mc146818.c6
1 files changed, 3 insertions, 3 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);