xfree86: xf86.h: drop xf86GetVidModeAllowNonLocal()

Not used externally, and not actually necessary - we can use the
xf86Info.vidModeAllowNonLocal field directly.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
Enrico Weigelt, metux IT consult 2025-05-21 11:03:56 +02:00
parent b7d4f00545
commit be1bdf864b
3 changed files with 1 additions and 9 deletions

View File

@ -249,8 +249,6 @@ xf86ServerIsExiting(void);
extern _X_EXPORT Bool
xf86ServerIsOnlyDetecting(void);
extern _X_EXPORT Bool
xf86GetVidModeAllowNonLocal(void);
extern _X_EXPORT Bool
xf86GetVidModeEnabled(void);
extern _X_EXPORT Bool
xf86GetAllowMouseOpenFail(void);

View File

@ -1383,12 +1383,6 @@ xf86ServerIsOnlyDetecting(void)
return xf86DoConfigure;
}
Bool
xf86GetVidModeAllowNonLocal(void)
{
return xf86Info.vidModeAllowNonLocal;
}
Bool
xf86GetVidModeEnabled(void)
{

View File

@ -459,7 +459,7 @@ XFree86VidModeExtensionInit(void)
if (!enabled)
return;
VidModeAddExtension(xf86GetVidModeAllowNonLocal());
VidModeAddExtension(xf86Info.vidModeAllowNonLocal);
}
#endif /* XF86VIDMODE */