xserver: Branch 'master'

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Sat Feb 17 23:54:05 UTC 2024


 hw/xfree86/os-support/bsd/i386_video.c |   14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

New commits:
commit 59dac6af45088db27df98c136657e8f728ba5d4b
Author: Matthieu Herrb <matthieu at herrb.eu>
Date:   Sat Feb 17 16:19:20 2024 +0100

    Add full prototypes in hw/xfree86/os-support/bsd/bsd-video.c
    
    Trivial functions without parameters -> (void)

diff --git a/hw/xfree86/os-support/bsd/i386_video.c b/hw/xfree86/os-support/bsd/i386_video.c
index a38a7de27..f25400714 100644
--- a/hw/xfree86/os-support/bsd/i386_video.c
+++ b/hw/xfree86/os-support/bsd/i386_video.c
@@ -167,7 +167,7 @@ xf86OSInitVidMem(VidMemInfoPtr pVidMem)
 static Bool ExtendedEnabled = FALSE;
 
 Bool
-xf86EnableIO()
+xf86EnableIO(void)
 {
     if (ExtendedEnabled)
         return TRUE;
@@ -188,7 +188,7 @@ xf86EnableIO()
 }
 
 void
-xf86DisableIO()
+xf86DisableIO(void)
 {
     if (!ExtendedEnabled)
         return;
@@ -209,7 +209,7 @@ xf86DisableIO()
 static Bool ExtendedEnabled = FALSE;
 
 Bool
-xf86EnableIO()
+xf86EnableIO(void)
 {
     if (ExtendedEnabled)
         return TRUE;
@@ -230,7 +230,7 @@ xf86EnableIO()
 }
 
 void
-xf86DisableIO()
+xf86DisableIO(void)
 {
     if (!ExtendedEnabled)
         return;
@@ -250,7 +250,7 @@ xf86DisableIO()
 static int IoFd = -1;
 
 Bool
-xf86EnableIO()
+xf86EnableIO(void)
 {
     if (IoFd >= 0)
         return TRUE;
@@ -264,7 +264,7 @@ xf86EnableIO()
 }
 
 void
-xf86DisableIO()
+xf86DisableIO(void)
 {
     if (IoFd < 0)
         return;
@@ -304,7 +304,7 @@ xf86SetTVOut(int mode)
 }
 
 void
-xf86SetRGBOut()
+xf86SetRGBOut(void)
 {
     switch (xf86Info.consType) {
 #ifdef PCCONS_SUPPORT


More information about the xorg-commit mailing list