diff --git a/hw/xfree86/modes/xf86Crtc.c b/hw/xfree86/modes/xf86Crtc.c index 151030c3a..b2abf86be 100644 --- a/hw/xfree86/modes/xf86Crtc.c +++ b/hw/xfree86/modes/xf86Crtc.c @@ -37,7 +37,7 @@ #include "xf86Modes.h" #include "xf86Opt_priv.h" #include "xf86Priv.h" -#include "xf86RandR12.h" +#include "xf86RandR12_priv.h" #include "X11/extensions/render.h" #include "X11/extensions/dpmsconst.h" #include "X11/Xatom.h" diff --git a/hw/xfree86/modes/xf86RandR12.h b/hw/xfree86/modes/xf86RandR12.h index e603799be..b8a31ddff 100644 --- a/hw/xfree86/modes/xf86RandR12.h +++ b/hw/xfree86/modes/xf86RandR12.h @@ -27,7 +27,6 @@ extern _X_EXPORT Bool xf86RandR12CreateScreenResources(ScreenPtr pScreen); extern _X_EXPORT Bool xf86RandR12Init(ScreenPtr pScreen); -extern _X_EXPORT void xf86RandR12CloseScreen(ScreenPtr pScreen); extern _X_EXPORT void xf86RandR12SetRotations(ScreenPtr pScreen, Rotation rotation); extern _X_EXPORT void xf86RandR12SetTransformSupport(ScreenPtr pScreen, diff --git a/hw/xfree86/modes/xf86RandR12_priv.h b/hw/xfree86/modes/xf86RandR12_priv.h index a3fbab1f6..5cfe0c508 100644 --- a/hw/xfree86/modes/xf86RandR12_priv.h +++ b/hw/xfree86/modes/xf86RandR12_priv.h @@ -15,4 +15,6 @@ void xf86RandR12LoadPalette(ScrnInfoPtr pScrn, int numColors, VisualPtr pVisual); Bool xf86RandR12InitGamma(ScrnInfoPtr pScrn, unsigned gammaSize); +void xf86RandR12CloseScreen(ScreenPtr pScreen); + #endif /* _XSERVER_XF86RANDR12_PRIV_H_ */