xfree86: fbdevhw: make fbdevHWGetRec() static

Not used by any external consumers, only within the same source file,
so can become static.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
Enrico Weigelt, metux IT consult 2025-05-05 11:51:16 +02:00
parent ac947ad0d6
commit e0b143cfd9
3 changed files with 1 additions and 8 deletions

View File

@ -83,7 +83,7 @@ enum {
FBIOBLANK_UNSUPPORTED = 0,
};
Bool
static Bool
fbdevHWGetRec(ScrnInfoPtr pScrn)
{
if (fbdevHWPrivateIndex < 0)

View File

@ -11,7 +11,6 @@
#define FBDEVHW_TEXT 3 /* Text/attributes */
#define FBDEVHW_VGA_PLANES 4 /* EGA/VGA planes */
extern _X_EXPORT Bool fbdevHWGetRec(ScrnInfoPtr pScrn);
extern _X_EXPORT void fbdevHWFreeRec(ScrnInfoPtr pScrn);
extern _X_EXPORT int fbdevHWGetFD(ScrnInfoPtr pScrn);

View File

@ -8,12 +8,6 @@
/* Stubs for the static server on platforms that don't support fbdev */
Bool
fbdevHWGetRec(ScrnInfoPtr pScrn)
{
return FALSE;
}
void
fbdevHWFreeRec(ScrnInfoPtr pScrn)
{