diff --git a/hw/xfree86/common/xf86.h b/hw/xfree86/common/xf86.h index f3654ffbb..7601b7bb4 100644 --- a/hw/xfree86/common/xf86.h +++ b/hw/xfree86/common/xf86.h @@ -328,8 +328,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 e682128b9..7b87fcb6a 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,