diff --git a/hw/xfree86/modes/xf86Crtc.c b/hw/xfree86/modes/xf86Crtc.c index c45897365..151030c3a 100644 --- a/hw/xfree86/modes/xf86Crtc.c +++ b/hw/xfree86/modes/xf86Crtc.c @@ -29,6 +29,8 @@ #include #include +#include "randr/randrstr_priv.h" + #include "xf86.h" #include "xf86DDC_priv.h" #include "xf86Crtc.h" diff --git a/randr/randrstr.h b/randr/randrstr.h index 9ae9cf42b..78e114589 100644 --- a/randr/randrstr.h +++ b/randr/randrstr.h @@ -595,12 +595,6 @@ extern _X_EXPORT Bool extern _X_EXPORT Bool RRCrtcGammaSetSize(RRCrtcPtr crtc, int size); -/* - * Detach and free a scanout pixmap - */ -extern _X_EXPORT void - RRCrtcDetachScanoutPixmap(RRCrtcPtr crtc); - extern _X_EXPORT Bool RRReplaceScanoutPixmap(DrawablePtr pDrawable, PixmapPtr pPixmap, Bool enable); diff --git a/randr/randrstr_priv.h b/randr/randrstr_priv.h index 5da7105c4..1c154d857 100644 --- a/randr/randrstr_priv.h +++ b/randr/randrstr_priv.h @@ -229,4 +229,11 @@ Bool RRCrtcInit(void); */ void RRCrtcInitErrorValue(void); +/* + * Detach and free a scanout pixmap + * + * @param crtc the CRTC to act on + */ +void RRCrtcDetachScanoutPixmap(RRCrtcPtr crtc); + #endif /* _XSERVER_RANDRSTR_PRIV_H_ */