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: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1751>
This commit is contained in:
Matt Turner 2024-12-16 22:38:03 -05:00
parent 298c5dcb02
commit 00a96cd82a

View File

@ -244,7 +244,7 @@ xf86SbusProbe(void)
* in the correct format for a SBUS bus id. * in the correct format for a SBUS bus id.
*/ */
Bool static Bool
xf86ParseSbusBusString(const char *busID, int *fbNum) 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. * Compare a BUS ID string with a SBUS bus id. Return TRUE if they match.
*/ */
Bool static Bool
xf86CompareSbusBusString(const char *busID, int fbNum) xf86CompareSbusBusString(const char *busID, int fbNum)
{ {
int iFbNum; 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. * Check if the slot requested is free. If it is already in use, return FALSE.
*/ */
Bool static Bool
xf86CheckSbusSlot(int fbNum) xf86CheckSbusSlot(int fbNum)
{ {
int i; int i;
@ -354,7 +354,7 @@ xf86CheckSbusSlot(int fbNum)
* Otherwise, claim the slot for the screen requesting it. * Otherwise, claim the slot for the screen requesting it.
*/ */
int static int
xf86ClaimSbusSlot(sbusDevicePtr psdp, DriverPtr drvp, GDevPtr dev, Bool active) xf86ClaimSbusSlot(sbusDevicePtr psdp, DriverPtr drvp, GDevPtr dev, Bool active)
{ {
EntityPtr p = NULL; EntityPtr p = NULL;