From 00a96cd82a7be08f421dcbe3aa628fdbc7c8d856 Mon Sep 17 00:00:00 2001 From: Matt Turner Date: Mon, 16 Dec 2024 22:38:03 -0500 Subject: [PATCH] hw/xfree86: Fix -Wmissing-prototypes warnings None of these functions are used elsewhere in the Xserver nor in any of the xf86-video-sun* DDXs. Part-of: --- hw/xfree86/common/xf86sbusBus.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/hw/xfree86/common/xf86sbusBus.c b/hw/xfree86/common/xf86sbusBus.c index b7638a352..a2bde2202 100644 --- a/hw/xfree86/common/xf86sbusBus.c +++ b/hw/xfree86/common/xf86sbusBus.c @@ -244,7 +244,7 @@ xf86SbusProbe(void) * in the correct format for a SBUS bus id. */ -Bool +static Bool xf86ParseSbusBusString(const char *busID, int *fbNum) { /* @@ -316,7 +316,7 @@ xf86ParseSbusBusString(const char *busID, int *fbNum) * Compare a BUS ID string with a SBUS bus id. Return TRUE if they match. */ -Bool +static Bool xf86CompareSbusBusString(const char *busID, int fbNum) { int iFbNum; @@ -333,7 +333,7 @@ xf86CompareSbusBusString(const char *busID, int fbNum) * Check if the slot requested is free. If it is already in use, return FALSE. */ -Bool +static Bool xf86CheckSbusSlot(int fbNum) { int i; @@ -354,7 +354,7 @@ xf86CheckSbusSlot(int fbNum) * Otherwise, claim the slot for the screen requesting it. */ -int +static int xf86ClaimSbusSlot(sbusDevicePtr psdp, DriverPtr drvp, GDevPtr dev, Bool active) { EntityPtr p = NULL;