diff --git a/hw/xfree86/common/xf86.h b/hw/xfree86/common/xf86.h index a9423932c..4fbf60c59 100644 --- a/hw/xfree86/common/xf86.h +++ b/hw/xfree86/common/xf86.h @@ -207,8 +207,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); diff --git a/hw/xfree86/common/xf86Helper.c b/hw/xfree86/common/xf86Helper.c index 4ca485e03..c19f49dd3 100644 --- a/hw/xfree86/common/xf86Helper.c +++ b/hw/xfree86/common/xf86Helper.c @@ -1384,12 +1384,6 @@ xf86ServerIsOnlyDetecting(void) return xf86DoConfigure; } -Bool -xf86GetVidModeAllowNonLocal(void) -{ - return xf86Info.vidModeAllowNonLocal; -} - Bool xf86GetVidModeEnabled(void) { diff --git a/hw/xfree86/common/xf86VidMode.c b/hw/xfree86/common/xf86VidMode.c index 9ad1b2be5..ca12094e3 100644 --- a/hw/xfree86/common/xf86VidMode.c +++ b/hw/xfree86/common/xf86VidMode.c @@ -459,7 +459,7 @@ XFree86VidModeExtensionInit(void) if (!enabled) return; - VidModeAddExtension(xf86GetVidModeAllowNonLocal()); + VidModeAddExtension(xf86Info.vidModeAllowNonLocal); } #endif /* XF86VIDMODE */