randr: unexport and document RRCrtcDestroy()

Not used by any external drivers, so no need to keep it exported.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
Enrico Weigelt, metux IT consult 2025-05-16 14:27:12 +02:00
parent f7157f140e
commit 03ea1c6ec0
3 changed files with 8 additions and 7 deletions

View File

@ -27,13 +27,13 @@
#include <xwayland-config.h>
#include "os/client_priv.h"
#include "randr/randrstr_priv.h"
#ifdef WITH_LIBDRM
#include <xf86drm.h>
#include <xf86drmMode.h>
#endif
#include "randrstr_priv.h"
#include "xwayland-drm-lease.h"
#include "xwayland-screen.h"
#include "xwayland-output.h"

View File

@ -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
*/

View File

@ -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_ */