summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu@cvs.openbsd.org>2024-08-16 07:24:53 +0000
committerMatthieu Herrb <matthieu@cvs.openbsd.org>2024-08-16 07:24:53 +0000
commit57aa3175a4f564a4d03158f9410552524dfdbd8b (patch)
treecad40209b2cecae47bdd2833bbf7cc9d80c3b293
parent4b0743f310be35221237d7cbf49a762962b210b2 (diff)
Ansify function declarations. These are all simple () -> (void) cases.
-rw-r--r--xserver/hw/xfree86/os-support/bsd/i386_video.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/xserver/hw/xfree86/os-support/bsd/i386_video.c b/xserver/hw/xfree86/os-support/bsd/i386_video.c
index b138d23c1..4beca8618 100644
--- a/xserver/hw/xfree86/os-support/bsd/i386_video.c
+++ b/xserver/hw/xfree86/os-support/bsd/i386_video.c
@@ -159,7 +159,7 @@ xf86OSInitVidMem(VidMemInfoPtr pVidMem)
static Bool ExtendedEnabled = FALSE;
Bool
-xf86EnableIO()
+xf86EnableIO(void)
{
if (ExtendedEnabled)
return TRUE;
@@ -180,7 +180,7 @@ xf86EnableIO()
}
void
-xf86DisableIO()
+xf86DisableIO(void)
{
if (!ExtendedEnabled)
return;
@@ -203,7 +203,7 @@ xf86DisableIO()
static Bool ExtendedEnabled = FALSE;
Bool
-xf86EnableIO()
+xf86EnableIO(void)
{
if (ExtendedEnabled)
return TRUE;
@@ -224,7 +224,7 @@ xf86EnableIO()
}
void
-xf86DisableIO()
+xf86DisableIO(void)
{
if (!ExtendedEnabled)
return;
@@ -244,7 +244,7 @@ xf86DisableIO()
static int IoFd = -1;
Bool
-xf86EnableIO()
+xf86EnableIO(void)
{
if (IoFd >= 0)
return TRUE;
@@ -258,7 +258,7 @@ xf86EnableIO()
}
void
-xf86DisableIO()
+xf86DisableIO(void)
{
if (IoFd < 0)
return;
@@ -298,7 +298,7 @@ xf86SetTVOut(int mode)
}
void
-xf86SetRGBOut()
+xf86SetRGBOut(void)
{
switch (xf86Info.consType) {
#ifdef PCCONS_SUPPORT