diff --git a/hw/xfree86/common/xf86.h b/hw/xfree86/common/xf86.h index 0885f13f9..cdab1d99a 100644 --- a/hw/xfree86/common/xf86.h +++ b/hw/xfree86/common/xf86.h @@ -324,8 +324,6 @@ xf86CollectOptions(ScrnInfoPtr pScrn, XF86OptionPtr extraOpts); #ifdef RANDR extern _X_EXPORT Bool xf86RandRInit(ScreenPtr pScreen); -extern _X_EXPORT Rotation -xf86GetRotation(ScreenPtr pScreen); extern _X_EXPORT Bool xf86RandRSetNewVirtualAndDimensions(ScreenPtr pScreen, int newvirtX, int newvirtY, diff --git a/hw/xfree86/common/xf86RandR.c b/hw/xfree86/common/xf86RandR.c index 1288a83d1..49ba6bb5e 100644 --- a/hw/xfree86/common/xf86RandR.c +++ b/hw/xfree86/common/xf86RandR.c @@ -359,15 +359,6 @@ static void xf86RandRCloseScreen(CallbackListPtr *pcbl, dixSetPrivate(&pScreen->devPrivates, xf86RandRKey, NULL); } -Rotation -xf86GetRotation(ScreenPtr pScreen) -{ - if (xf86RandRKey == NULL) - return RR_Rotate_0; - - return XF86RANDRINFO(pScreen)->rotation; -} - /* Function to change RandR's idea of the virtual screen size */ Bool xf86RandRSetNewVirtualAndDimensions(ScreenPtr pScreen,