-/* $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>
*
}
void
-mc146818_stop()
+mc146818_stop(void)
{
evtimer_del(&rtc.per);
evtimer_del(&rtc.sec);
}
void
-mc146818_start()
+mc146818_start(void)
{
evtimer_add(&rtc.sec, &rtc.sec_tv);
event_add(&dev_pipe.read_ev, NULL);
-/* $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>
*
}
void
-ns8250_stop()
+ns8250_stop(void)
{
if(event_del(&com1_dev.event))
log_warn("could not delete ns8250 event handler");
}
void
-ns8250_start()
+ns8250_start(void)
{
event_add(&com1_dev.event, NULL);
event_add(&com1_dev.wake, NULL);