diff --git a/hw/xwayland/xwayland-drm-lease.c b/hw/xwayland/xwayland-drm-lease.c index 4faf0eef8..76f2572a6 100644 --- a/hw/xwayland/xwayland-drm-lease.c +++ b/hw/xwayland/xwayland-drm-lease.c @@ -27,13 +27,13 @@ #include #include "os/client_priv.h" +#include "randr/randrstr_priv.h" #ifdef WITH_LIBDRM #include #include #endif -#include "randrstr_priv.h" #include "xwayland-drm-lease.h" #include "xwayland-screen.h" #include "xwayland-output.h" diff --git a/randr/randrstr.h b/randr/randrstr.h index 98907b0ba..93e37f29d 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); -/* - * Destroy a Crtc at shutdown - */ -extern _X_EXPORT void - RRCrtcDestroy(RRCrtcPtr crtc); - /* * Initialize crtc type */ diff --git a/randr/randrstr_priv.h b/randr/randrstr_priv.h index 4bdd134b2..1ca3ab28f 100644 --- a/randr/randrstr_priv.h +++ b/randr/randrstr_priv.h @@ -211,4 +211,11 @@ void RRCrtcGetScanoutSize(RRCrtcPtr crtc, int *width, int *height); */ RRTransformPtr RRCrtcGetTransform(RRCrtcPtr crtc); +/* + * Destroy a Crtc at shutdown + * + * @param crtc the CRTC to destroy + */ +void RRCrtcDestroy(RRCrtcPtr crtc); + #endif /* _XSERVER_RANDRSTR_PRIV_H_ */