aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/xen/control
diff options
context:
space:
mode:
authorDimitry Andric <dim@FreeBSD.org>2022-07-26 12:11:09 +0000
committerDimitry Andric <dim@FreeBSD.org>2022-07-26 17:59:55 +0000
commita6c803048fd8d4209fb1d52cd3c455a6752109b7 (patch)
tree5692369db480c837f7bedf949d297e2a81fc847e /sys/dev/xen/control
parent39e12a7591bf2ed4b2fae48e19f3af3a3cdcb196 (diff)
Diffstat (limited to 'sys/dev/xen/control')
-rw-r--r--sys/dev/xen/control/control.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/dev/xen/control/control.c b/sys/dev/xen/control/control.c
index 2a539c724046..c3408b6fb58a 100644
--- a/sys/dev/xen/control/control.c
+++ b/sys/dev/xen/control/control.c
@@ -185,26 +185,26 @@ struct xctrl_softc {
/*------------------------------ Event Handlers ------------------------------*/
static void
-xctrl_poweroff()
+xctrl_poweroff(void)
{
shutdown_nice(RB_POWEROFF|RB_HALT);
}
static void
-xctrl_reboot()
+xctrl_reboot(void)
{
shutdown_nice(0);
}
#if !defined(__amd64__) && !defined(__i386__)
static void
-xctrl_suspend()
+xctrl_suspend(void)
{
printf("WARNING: xen/control: Suspend not supported!\n");
}
#else /* __amd64__ || __i386__ */
static void
-xctrl_suspend()
+xctrl_suspend(void)
{
#ifdef SMP
cpuset_t cpu_suspend_map;
@@ -341,7 +341,7 @@ xctrl_suspend()
#endif /* __amd64__ || __i386__ */
static void
-xctrl_crash()
+xctrl_crash(void)
{
panic("Xen directed crash");
}